package com.wicket.okrbff.biz.service.impl;


import com.wicket.okrapp.integration.FwAppBatchClient;
import com.wicket.okrapp.integration.FwAppIndexSystemClient;
import com.wicket.okrapp.integration.dto.*;
import com.wicket.okrapp.integration.dto.ChangeColumnDto;
import com.wicket.okrbff.biz.service.IndexSystemService;
import com.wicket.okrbff.biz.service.dto.common.*;
import com.wicket.okrbff.biz.service.dto.req.*;
import com.wicket.okrbff.biz.service.dto.res.*;
import com.wicket.okrbff.common.exception.BizException;
import com.wicket.okrbff.common.util.RedisUtil;
import com.wicket.okrframework.common.annotations.BanAuto;
import com.wicket.okrframework.integration.dto.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import com.wicket.okrframework.integration.FwBaseOrgClient;
import com.wicket.okrframework.integration.FwBaseInductionRecordClient;
import com.wicket.okrapp.integration.FwAppTargetCycleClient;
import java.util.ArrayList;
import cn.hutool.core.collection.CollectionUtil;
import java.util.List;
import com.wicket.okrbff.common.exception.Assert;

import java.util.stream.Collectors;

import com.wicket.okrframework.integration.FwBaseNullClient;
import com.wicket.okrbff.common.dto.TreeNode;
import com.wicket.okrbff.common.util.CommonFunctionHelper;
import cn.hutool.core.bean.BeanUtil;
import com.wicket.okrapp.integration.FwAppChangeColumnClient;
import com.wicket.okrapp.integration.FwAppTaskGenClient;
import com.wicket.okrapp.integration.FwAppTargetContentClient;
import com.wicket.okrapp.integration.FwAppOffStateClient;
import com.wicket.okrapp.integration.FwAppExecuteProgressClient;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@Service
public class IndexSystemServiceImpl implements IndexSystemService {

    @Resource
    FwAppIndexSystemClient fwAppIndexSystemClient;

    @Resource
    FwAppBatchClient fwAppBatchClient;
    @Resource
    private RedisUtil redisUtil;
@Resource
  FwBaseOrgClient fwBaseOrgClient;

@Resource
  FwBaseInductionRecordClient fwBaseInductionRecordClient;

@Resource
  FwAppTargetCycleClient fwAppTargetCycleClient;
@Resource
  FwBaseNullClient fwBaseNullClient;
@Resource
  FwAppChangeColumnClient fwAppChangeColumnClient;
@Resource
  FwAppTaskGenClient fwAppTaskGenClient;
@Resource
  FwAppTargetContentClient fwAppTargetContentClient;

@Resource
  FwAppOffStateClient fwAppOffStateClient;
@Resource
  FwAppExecuteProgressClient fwAppExecuteProgressClient;

    /**
   * B3-3新增目标分类(管理)[2543]
   * gen by moon at 11/23/2022, 2:15:07 PM
   */
    @Trace(operationName = "B3-3新增目标分类(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddTargetCatRespDto addTargetCat(BffAddTargetCatReqDto reqDto){
      
       
       AddTargetCatRespDto addTargetCatRespDto_1 =null;
//步骤0: D3-3新增目标分类 - addTargetCat
     AddTargetCatRespDto addTargetCatRespDto = null;
    AddTargetCatReqDto addTargetCatReqDto=new AddTargetCatReqDto();
  if(reqDto!=null){
      addTargetCatReqDto.setParentTtargetCategoryId(reqDto.getParentTtargetCategoryId());//SimpleFieldAssign//sourceId:165955_1
addTargetCatReqDto.setParentTargetId(reqDto.getParentTargetId());//SimpleFieldAssign//sourceId:165956_1
addTargetCatReqDto.setTargetCategoryName(reqDto.getTargetCategoryName());//SimpleFieldAssign//sourceId:165961_1
addTargetCatReqDto.setTargetCategoryDescribe(reqDto.getTargetCategoryDescribe());//SimpleFieldAssign//sourceId:165962_1
addTargetCatReqDto.setTargetCategoryRemarks(reqDto.getTargetCategoryRemarks());//SimpleFieldAssign//sourceId:165963_1
addTargetCatReqDto.setIsLast(reqDto.getIsLast());//SimpleFieldAssign//sourceId:355778_1
addTargetCatReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:165958_1
addTargetCatReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:361865_1
addTargetCatReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:165967_1
addTargetCatReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:420495_1
    }
  
    /*D3-3新增目标分类[2590]   */
    Assert.isNull(addTargetCatReqDto.getTargetCategoryName(),"B3-3新增目标分类(管理)-D3-3新增目标分类-目标分类名称不能为空",false);
Assert.isNull(addTargetCatReqDto.getIsLast(),"B3-3新增目标分类(管理)-D3-3新增目标分类-目标分类是否末级不能为空",false);
Assert.isNull(addTargetCatReqDto.getTargetId(),"B3-3新增目标分类(管理)-D3-3新增目标分类-冗余目标ID不能为空",false);
Assert.isNull(addTargetCatReqDto.getEvaluationTemplateId(),"B3-3新增目标分类(管理)-D3-3新增目标分类-冗余评价模板ID不能为空",false);
Assert.isNull(addTargetCatReqDto.getBatchCode(),"B3-3新增目标分类(管理)-D3-3新增目标分类-批次标识不能为空",false);
Assert.isNull(addTargetCatReqDto.getBatchCurrentStatus(),"B3-3新增目标分类(管理)-D3-3新增目标分类-批次现状不能为空",false);
      addTargetCatRespDto = fwAppIndexSystemClient.addTargetCat(addTargetCatReqDto).getData();
      
      
      addTargetCatRespDto_1 = addTargetCatRespDto;
    
BffAddTargetCatRespDto retData = new BffAddTargetCatRespDto();
  if(addTargetCatRespDto_1!=null){
      retData.setTargetCategoryId(addTargetCatRespDto_1.getTargetCategoryId());//SimpleFieldAssign//sourceId:211166_1
retData.setVirtualOrgId(addTargetCatRespDto_1.getVirtualOrgId());//SimpleFieldAssign//sourceId:211167_1
    }
  

  
  
return retData;
  }
/**
   * B3-3查目标分类下观测点列表(管理)[2719]
   * gen by moon at 5/19/2024, 5:02:59 PM
   */
    @Trace(operationName = "B3-3查目标分类下观测点列表(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryTargetCatObsPointListRespDto queryTargetCatObsPointList(BffQueryTargetCatObsPointListReqDto reqDto){
      
       
       QueryTargetCatObsPointListRespDto queryTargetCatObsPointListRespDto_1 =null;
BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto_1 =null;
BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 =null;
BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_3 =null;
BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_5 =null;
ImplementDataSetMergebizAppChangeColComRespDto implementDataSetMergebizAppChangeColComRespDto_1 =null;
//步骤0: D3-3查目标分类下观测点列表 - queryTargetCatObsPointList
     QueryTargetCatObsPointListRespDto queryTargetCatObsPointListRespDto = null;
    QueryTargetCatObsPointListReqDto queryTargetCatObsPointListReqDto=new QueryTargetCatObsPointListReqDto();
  queryTargetCatObsPointListReqDto.setDeptType("LEAD_DEPT");//sourceId:84764_1
queryTargetCatObsPointListReqDto.setIsArchive("FALSE");//sourceId:84767_1
if(reqDto!=null){
      queryTargetCatObsPointListReqDto.setParentTargetCategoryId(reqDto.getParentTargetCategoryId());//SimpleFieldAssign//sourceId:84760_1
queryTargetCatObsPointListReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:350422_1
    }
  
    /*D3-3查目标分类下观测点列表[2720]   */
    Assert.isNull(queryTargetCatObsPointListReqDto.getParentTargetCategoryId(),"B3-3查目标分类下观测点列表(管理)-D3-3查目标分类下观测点列表-归属父级目标分类ID不能为空",false);
Assert.isNull(queryTargetCatObsPointListReqDto.getTargetId(),"B3-3查目标分类下观测点列表(管理)-D3-3查目标分类下观测点列表-冗余目标ID不能为空",false);
Assert.isNull(queryTargetCatObsPointListReqDto.getDeptType(),"B3-3查目标分类下观测点列表(管理)-D3-3查目标分类下观测点列表-部门类型编码不能为空",false);
Assert.isNull(queryTargetCatObsPointListReqDto.getIsArchive(),"B3-3查目标分类下观测点列表(管理)-D3-3查目标分类下观测点列表-是否存档不能为空",false);
      queryTargetCatObsPointListRespDto = fwAppIndexSystemClient.queryTargetCatObsPointList(queryTargetCatObsPointListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryTargetCatObsPointListRespDto_1 = queryTargetCatObsPointListRespDto;
    
//步骤1: D1-3批量查部门(公共)(边界) - batchQueryDeptComBorder
     BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto = null;
    if(queryTargetCatObsPointListRespDto !=null){
          BatchQueryDeptComBorderReqDto batchQueryDeptComBorderReqDto=new BatchQueryDeptComBorderReqDto();
  if(queryTargetCatObsPointListRespDto!= null&&  queryTargetCatObsPointListRespDto.getTargetObjList() !=null&& !CollectionUtil.isEmpty(queryTargetCatObsPointListRespDto.getTargetObjList())){
      batchQueryDeptComBorderReqDto.setDeptList(queryTargetCatObsPointListRespDto.getTargetObjList().stream().map(item->item.getDeptId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:84775_1
    }
  
    /*D1-3批量查部门(公共)(边界)[2568]   */
    
      batchQueryDeptComBorderRespDto = fwBaseOrgClient.batchQueryDeptComBorder(batchQueryDeptComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      batchQueryDeptComBorderRespDto_1 = batchQueryDeptComBorderRespDto;
           }
    
//步骤2: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
     BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
    if(queryTargetCatObsPointListRespDto !=null){
          BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto=new BatchQueryInductionRecordListComReqDto();
  if(queryTargetCatObsPointListRespDto!= null&&  queryTargetCatObsPointListRespDto.getTargetObjList() !=null&& !CollectionUtil.isEmpty(queryTargetCatObsPointListRespDto.getTargetObjList())){
      batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryTargetCatObsPointListRespDto.getTargetObjList().stream().map(item->String.valueOf(item.getPrincipalInductionRecordId()))
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:222035_1
    }
  
    /*D1-3批量查询就职记录列表（负责人）[602]   */
    
      batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
           }
    
//步骤3: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
     BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_2 = null;
    if(queryTargetCatObsPointListRespDto !=null){
          BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto_1=new BatchQueryInductionRecordListComReqDto();
  if(queryTargetCatObsPointListRespDto!= null&&  queryTargetCatObsPointListRespDto.getTargetObjList() !=null&& !CollectionUtil.isEmpty(queryTargetCatObsPointListRespDto.getTargetObjList())){
      batchQueryInductionRecordListComReqDto_1.setPerOrgInductionRecordList(queryTargetCatObsPointListRespDto.getTargetObjList().stream().map(item->String.valueOf(item.getDirectorInductionRecordId()))
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:306244_1
    }
  
    /*D1-3批量查询就职记录列表（主管）[602]   */
    
      batchQueryInductionRecordListComRespDto_2 = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      batchQueryInductionRecordListComRespDto_3 = batchQueryInductionRecordListComRespDto_2;
           }
    
//步骤4: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
     BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_4 = null;
    if(queryTargetCatObsPointListRespDto !=null){
          BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto_2=new BatchQueryInductionRecordListComReqDto();
  if(queryTargetCatObsPointListRespDto!= null&&  queryTargetCatObsPointListRespDto.getTargetObjList() !=null&& !CollectionUtil.isEmpty(queryTargetCatObsPointListRespDto.getTargetObjList())){
      batchQueryInductionRecordListComReqDto_2.setPerOrgInductionRecordList(queryTargetCatObsPointListRespDto.getTargetObjList().stream().map(item->String.valueOf(item.getDeptLeaderInductionRecordId()))
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1124147_1
    }

    /*D1-3批量查询就职记录列表(分管领导）[602]   */

      batchQueryInductionRecordListComRespDto_4 = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto_2).getData()/*vcase invoke 跨dubbo调用;*/;


      batchQueryInductionRecordListComRespDto_5 = batchQueryInductionRecordListComRespDto_4;
           }

//步骤5: D3执行数据集合并业务应用变更字段(公共) - implementDataSetMergebizAppChangeColCom
     ImplementDataSetMergebizAppChangeColComRespDto implementDataSetMergebizAppChangeColComRespDto = null;
    if(queryTargetCatObsPointListRespDto !=null){
          ImplementDataSetMergebizAppChangeColComReqDto implementDataSetMergebizAppChangeColComReqDto=new ImplementDataSetMergebizAppChangeColComReqDto();
  implementDataSetMergebizAppChangeColComReqDto.setTableTypeCode("OMS_EVALUATION_OBJECT_TARGET_CYCLE");//sourceId:445037_1
if(queryTargetCatObsPointListRespDto!= null&&  queryTargetCatObsPointListRespDto.getTargetObjList() !=null&& !CollectionUtil.isEmpty(queryTargetCatObsPointListRespDto.getTargetObjList())){
      implementDataSetMergebizAppChangeColComReqDto.setBizAppChangeColList(queryTargetCatObsPointListRespDto.getTargetObjList().stream().map(item->item.getEvaObjTargetCycleId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:445036_1
    }
if(queryTargetCatObsPointListRespDto!= null&&  queryTargetCatObsPointListRespDto.getTargetObjList() !=null&& !CollectionUtil.isEmpty(queryTargetCatObsPointListRespDto.getTargetObjList())){
      implementDataSetMergebizAppChangeColComReqDto.setEvaObjTargetCycleList(queryTargetCatObsPointListRespDto.getTargetObjList().stream().map(item -> BeanUtil.toBean(item, EvaObjTargetCycleDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:445038_1
    }
  
    /*D3执行数据集合并业务应用变更字段(公共)[5212]   */
    Assert.isNull(implementDataSetMergebizAppChangeColComReqDto.getTableTypeCode(),"B3-3查目标分类下观测点列表(管理)-D3执行数据集合并业务应用变更字段(公共)-内容表类型编码不能为空",false);
      implementDataSetMergebizAppChangeColComRespDto = fwAppChangeColumnClient.implementDataSetMergebizAppChangeColCom(implementDataSetMergebizAppChangeColComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      implementDataSetMergebizAppChangeColComRespDto_1 = implementDataSetMergebizAppChangeColComRespDto;
           }
    
BffQueryTargetCatObsPointListRespDto retData = new BffQueryTargetCatObsPointListRespDto();
  //数据集融合  MoreListToOneSource
        if(queryTargetCatObsPointListRespDto_1!= null && !CollectionUtil.isEmpty(queryTargetCatObsPointListRespDto_1.getTargetObjList()) ){
          for (TargetObjDto targetObjDto : queryTargetCatObsPointListRespDto_1.getTargetObjList()) {
              BffTargetObjDto retElm = new BffTargetObjDto();
             if(queryTargetCatObsPointListRespDto_1!=null){
      retElm.setObjectiveTemplateId(targetObjDto.getObjectiveTemplateId());//SimpleFieldAssign//sourceId:82556_2
retElm.setCorrelationLastTargetCatId(targetObjDto.getCorrelationLastTargetCatId());//SimpleFieldAssign//sourceId:82558_2
retElm.setParentObjectiveId(targetObjDto.getParentObjectiveId());//SimpleFieldAssign//sourceId:82559_2
retElm.setObjectiveId(targetObjDto.getObjectiveId());//SimpleFieldAssign//sourceId:82560_2
retElm.setObjectiveCode(targetObjDto.getObjectiveCode());//SimpleFieldAssign//sourceId:82561_2
retElm.setObjectiveNumber(targetObjDto.getObjectiveNumber());//SimpleFieldAssign//sourceId:363879_2
retElm.setObjectiveName(targetObjDto.getObjectiveName());//SimpleFieldAssign//sourceId:82562_2
retElm.setObjectiveShortName(targetObjDto.getObjectiveShortName());//SimpleFieldAssign//sourceId:82563_2
retElm.setTargetValueType(targetObjDto.getTargetValueType());//SimpleFieldAssign//sourceId:82564_2
retElm.setIsLeft(targetObjDto.getIsLeft());//SimpleFieldAssign//sourceId:82567_2
retElm.setUnit(targetObjDto.getUnit());//SimpleFieldAssign//sourceId:115332_2
retElm.setDigitalUnit(targetObjDto.getDigitalUnit());//SimpleFieldAssign//sourceId:115333_2
retElm.setLevelNumber(targetObjDto.getLevelNumber());//SimpleFieldAssign//sourceId:82568_2
retElm.setIsUseBudget(targetObjDto.getIsUseBudget());//SimpleFieldAssign//sourceId:255492_2
retElm.setIsOpenCustomReport(targetObjDto.getIsOpenCustomReport());//SimpleFieldAssign//sourceId:220427_2
retElm.setSubjectLifeCycle(targetObjDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:105670_2
retElm.setIsComplete(targetObjDto.getIsComplete());//SimpleFieldAssign//sourceId:105671_2
retElm.setCreateLowerIndicator(targetObjDto.getCreateLowerIndicator());//SimpleFieldAssign//sourceId:98772_2
retElm.setRespBodyType(targetObjDto.getRespBodyType());//SimpleFieldAssign//sourceId:121135_2
retElm.setPeriodicModeTypeCode(targetObjDto.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:82569_2
retElm.setEvaObjTargetCycleId(targetObjDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:82570_2
retElm.setDeptId(targetObjDto.getDeptId());//SimpleFieldAssign//sourceId:82571_2
retElm.setVirtualOrgDeptStatus(targetObjDto.getVirtualOrgDeptStatus());//SimpleFieldAssign//sourceId:82572_2
retElm.setPrincipalVirtualOrgMemberId(targetObjDto.getPrincipalVirtualOrgMemberId());//SimpleFieldAssign//sourceId:234367_2
retElm.setPrincipalInductionRecordId(targetObjDto.getPrincipalInductionRecordId());//SimpleFieldAssign//sourceId:234368_2
retElm.setPrincipalVirtualOrganizationPosition(targetObjDto.getPrincipalVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:234369_2
retElm.setDirectorVirtualOrgMemberId(targetObjDto.getDirectorVirtualOrgMemberId());//SimpleFieldAssign//sourceId:234370_2
retElm.setDirectorInductionRecordId(targetObjDto.getDirectorInductionRecordId());//SimpleFieldAssign//sourceId:234371_2
retElm.setDirectorVirtualOrganizationPosition(targetObjDto.getDirectorVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:234372_2
retElm.setDeptLeaderInductionRecordId(targetObjDto.getDeptLeaderInductionRecordId());//SimpleFieldAssign//sourceId:234373_2
retElm.setDeptLeaderVirtualOrganizationPosition(targetObjDto.getDeptLeaderVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:234374_2
    }
              retData.getTargetObjList().add(retElm);
               if(implementDataSetMergebizAppChangeColComRespDto_1!= null){
          for (EvaObjTargetCycleDto evaObjTargetCycleDto : implementDataSetMergebizAppChangeColComRespDto_1.getEvaObjTargetCycleList()) {
              // TODO: 2022/11/25 手写代码
                if (evaObjTargetCycleDto.getEvaObjTargetCycleId()!=null && evaObjTargetCycleDto.getEvaObjTargetCycleId().equals(targetObjDto.getEvaObjTargetCycleId())) {
                 if(implementDataSetMergebizAppChangeColComRespDto_1!=null){
      retElm.setCyclelAlias(evaObjTargetCycleDto.getCyclelAlias());//SimpleFieldAssign//sourceId:120241_2
    }
                }
            }
          }
        
 if(batchQueryDeptComBorderRespDto_1!= null){
          for (DeptDto deptDto : batchQueryDeptComBorderRespDto_1.getDeptList()) {
                if (deptDto.getDeptId().equals(targetObjDto.getDeptId())) {
                 if(batchQueryDeptComBorderRespDto_1!=null){
      retElm.setDeptShortName(deptDto.getDeptShortName());//SimpleFieldAssign//sourceId:82577_2
    }
                }
            }
          }
        
 if(batchQueryInductionRecordListComRespDto_1!= null){
          for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                if (perOrgInductionRecordDto.getInductionRecordId().equals(targetObjDto.getPrincipalInductionRecordId())) {
                 if(batchQueryInductionRecordListComRespDto_1!=null){
      retElm.setPrincipalUserId(perOrgInductionRecordDto.getUserId());//SimpleFieldAssign//sourceId:94067_2
retElm.setPrincipalUserFace(perOrgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:121137_2
retElm.setPrincipalIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:82575_2
retElm.setPrincipalNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:82576_2
    }
                }
            }
          }
        
 if(batchQueryInductionRecordListComRespDto_3!= null){
          for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_3.getPerOrgInductionRecordList()) {
                if (perOrgInductionRecordDto.getInductionRecordId().equals(targetObjDto.getDirectorInductionRecordId())) {
                 if(batchQueryInductionRecordListComRespDto_3!=null){
      retElm.setDirectorUserId(perOrgInductionRecordDto.getUserId());//SimpleFieldAssign//sourceId:94072_2
retElm.setDirectorIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:94073_2
retElm.setDirectorNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:94074_2
    }
                }
            }
          }
        
 if(batchQueryInductionRecordListComRespDto_5!= null){
          for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_5.getPerOrgInductionRecordList()) {
                if (perOrgInductionRecordDto.getInductionRecordId().equals(targetObjDto.getDeptLeaderInductionRecordId())) {
                 if(batchQueryInductionRecordListComRespDto_5!=null){
      retElm.setDeptLeaderIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:234365_2
retElm.setDeptLeaderNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:234366_2
    }
                }
            }
          }

          }
        }//sourceId:222027_1
  

  
  
return retData;
  }
/**
   * B3-3高层设置分工策略(管理)[4055]
   * gen by moon at 6/13/2023, 12:31:16 PM
   */
    @Trace(operationName = "B3-3高层设置分工策略(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffSetTopSetDivTacticsRespDto setTopSetDivTactics(BffSetTopSetDivTacticsReqDto reqDto){
      
       
       //步骤0: D3-3高层设置分工策略 - updateTopSetDivTactics
     UpdateTopSetDivTacticsRespDto updateTopSetDivTacticsRespDto = null;
    UpdateTopSetDivTacticsReqDto updateTopSetDivTacticsReqDto=new UpdateTopSetDivTacticsReqDto();
  if(reqDto!=null){
      updateTopSetDivTacticsReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:1038809_1
      updateTopSetDivTacticsReqDto.setObjectivePlanningExtendId(reqDto.getObjectivePlanningExtendId());//SimpleFieldAssign//sourceId:341641_1
updateTopSetDivTacticsReqDto.setCreateLowerIndicator(reqDto.getCreateLowerIndicator());//SimpleFieldAssign//sourceId:342521_1
updateTopSetDivTacticsReqDto.setTargetDivisionSame(reqDto.getTargetDivisionSame());//SimpleFieldAssign//sourceId:342522_1
updateTopSetDivTacticsReqDto.setDivisionContId(reqDto.getDivisionContId());//SimpleFieldAssign//sourceId:223657_1
updateTopSetDivTacticsReqDto.setDivisionContType(reqDto.getDivisionContType());//SimpleFieldAssign//sourceId:223658_1
updateTopSetDivTacticsReqDto.setEncode(reqDto.getEncode());//SimpleFieldAssign//sourceId:342523_1
updateTopSetDivTacticsReqDto.setDivisionDesc(reqDto.getDivisionDesc());//SimpleFieldAssign//sourceId:342524_1
updateTopSetDivTacticsReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:853936_1
updateTopSetDivTacticsReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:731203_1
updateTopSetDivTacticsReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:853937_1
updateTopSetDivTacticsReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:958690_1
    }
  
    /*D3-3高层设置分工策略[4056]   */
    Assert.isNull(updateTopSetDivTacticsReqDto.getObjectiveId(),"B3-3高层设置分工策略(管理)-D3-3高层设置分工策略-指标ID不能为空",false);
    Assert.isNull(updateTopSetDivTacticsReqDto.getObjectivePlanningExtendId(),"B3-3高层设置分工策略(管理)-D3-3高层设置分工策略-指标扩展规划设置ID不能为空",false);
Assert.isNull(updateTopSetDivTacticsReqDto.getCreateLowerIndicator(),"B3-3高层设置分工策略(管理)-D3-3高层设置分工策略-本级是否向下分工不能为空",false);
Assert.isNull(updateTopSetDivTacticsReqDto.getTargetDivisionSame(),"B3-3高层设置分工策略(管理)-D3-3高层设置分工策略-目标是否向下分工相同不能为空",false);
Assert.isNull(updateTopSetDivTacticsReqDto.getDivisionContId(),"B3-3高层设置分工策略(管理)-D3-3高层设置分工策略-分工内容ID不能为空",false);
Assert.isNull(updateTopSetDivTacticsReqDto.getDivisionContType(),"B3-3高层设置分工策略(管理)-D3-3高层设置分工策略-分工内容类型编码不能为空",false);
Assert.isNull(updateTopSetDivTacticsReqDto.getEncode(),"B3-3高层设置分工策略(管理)-D3-3高层设置分工策略-向下分工层级编码不能为空",false);
Assert.isNull(updateTopSetDivTacticsReqDto.getDivisionDesc(),"B3-3高层设置分工策略(管理)-D3-3高层设置分工策略-分工策略描述不能为空",false);
Assert.isNull(updateTopSetDivTacticsReqDto.getTargetId(),"B3-3高层设置分工策略(管理)-D3-3高层设置分工策略-冗余目标ID不能为空",false);
Assert.isNull(updateTopSetDivTacticsReqDto.getEvaluationTemplateId(),"B3-3高层设置分工策略(管理)-D3-3高层设置分工策略-冗余评价模板ID不能为空",false);
Assert.isNull(updateTopSetDivTacticsReqDto.getBatchCode(),"B3-3高层设置分工策略(管理)-D3-3高层设置分工策略-批次标识不能为空",false);
Assert.isNull(updateTopSetDivTacticsReqDto.getBatchCurrentStatus(),"B3-3高层设置分工策略(管理)-D3-3高层设置分工策略-批次现状不能为空",false);
      updateTopSetDivTacticsRespDto = fwAppIndexSystemClient.updateTopSetDivTactics(updateTopSetDivTacticsReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
    
BffSetTopSetDivTacticsRespDto retData = new BffSetTopSetDivTacticsRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-3查负责观测点列表(管理)[2942]
   * gen by moon at 10/21/2023, 8:09:24 PM
   */
    @Trace(operationName = "B3-3查负责观测点列表(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryResponsibleViewPointListRespDto queryResponsibleViewPointList(BffQueryResponsibleViewPointListReqDto reqDto){
      
       
       QueryResponsibleViewPointListRespDto queryResponsibleViewPointListRespDto_1 =null;
BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto_1 =null;
BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_1 =null;
//步骤0: D3-3查负责观测点列表(管理) - queryResponsibleViewPointList
     QueryResponsibleViewPointListRespDto queryResponsibleViewPointListRespDto = null;
    QueryResponsibleViewPointListReqDto queryResponsibleViewPointListReqDto=new QueryResponsibleViewPointListReqDto();
  if(reqDto!=null){
      queryResponsibleViewPointListReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:642462_1
queryResponsibleViewPointListReqDto.setLevelNumber(reqDto.getLevelNumber());//SimpleFieldAssign//sourceId:642463_1
queryResponsibleViewPointListReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:642464_1
queryResponsibleViewPointListReqDto.setCustomField(reqDto.getCustomField());//SimpleFieldAssign//sourceId:1115536_1
    }
  
    /*D3-3查负责观测点列表(管理)[2939]   */
    Assert.isNull(queryResponsibleViewPointListReqDto.getDeptId(),"B3-3查负责观测点列表(管理)-D3-3查负责观测点列表(管理)-部门ID不能为空",false);
Assert.isNull(queryResponsibleViewPointListReqDto.getTargetId(),"B3-3查负责观测点列表(管理)-D3-3查负责观测点列表(管理)-冗余目标ID不能为空",false);
Assert.isNull(queryResponsibleViewPointListReqDto.getCustomField(),"B3-3查负责观测点列表(管理)-D3-3查负责观测点列表(管理)-是否判断部门管理权限不能为空",false);
      queryResponsibleViewPointListRespDto = fwAppIndexSystemClient.queryResponsibleViewPointList(queryResponsibleViewPointListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryResponsibleViewPointListRespDto_1 = queryResponsibleViewPointListRespDto;
    
//步骤1: D1-3批量查部门(公共)(边界) - batchQueryDeptComBorder
     BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto = null;
    if(queryResponsibleViewPointListRespDto !=null){
          BatchQueryDeptComBorderReqDto batchQueryDeptComBorderReqDto=new BatchQueryDeptComBorderReqDto();
  if(queryResponsibleViewPointListRespDto!= null&&  queryResponsibleViewPointListRespDto.getNextLevelTargetObjList() !=null&& !CollectionUtil.isEmpty(queryResponsibleViewPointListRespDto.getNextLevelTargetObjList())){
      batchQueryDeptComBorderReqDto.setDeptList(queryResponsibleViewPointListRespDto.getNextLevelTargetObjList().stream().map(item->item.getDeptId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:95073_1
    }
  
    /*D1-3批量查部门(公共)(边界)[2568]   */
    
      batchQueryDeptComBorderRespDto = fwBaseOrgClient.batchQueryDeptComBorder(batchQueryDeptComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      batchQueryDeptComBorderRespDto_1 = batchQueryDeptComBorderRespDto;
           }
    
//步骤2: D1-2批量查询个人资料列表 - batchQueryUserinfo
     BatchQueryUserinfoRespDto batchQueryUserinfoRespDto = null;
    if(queryResponsibleViewPointListRespDto !=null){
          BatchQueryUserinfoReqDto batchQueryUserinfoReqDto=new BatchQueryUserinfoReqDto();
  if(queryResponsibleViewPointListRespDto!= null&&  queryResponsibleViewPointListRespDto.getNextLevelTargetObjList() !=null&& !CollectionUtil.isEmpty(queryResponsibleViewPointListRespDto.getNextLevelTargetObjList())){
      batchQueryUserinfoReqDto.setUserinfoList(queryResponsibleViewPointListRespDto.getNextLevelTargetObjList().stream().map(item->item.getUserId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:95154_1
    }
  
    /*D1-2批量查询个人资料列表[1020]   */
    
      batchQueryUserinfoRespDto = fwBaseNullClient.batchQueryUserinfo(batchQueryUserinfoReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      batchQueryUserinfoRespDto_1 = batchQueryUserinfoRespDto;
           }
    
BffQueryResponsibleViewPointListRespDto retData = new BffQueryResponsibleViewPointListRespDto();
  //数据集融合  MoreListToOneSource
        if(queryResponsibleViewPointListRespDto_1!= null && !CollectionUtil.isEmpty(queryResponsibleViewPointListRespDto_1.getNextLevelTargetObjList()) ){
          for (NextLevelTargetObjDto nextLevelTargetObjDto : queryResponsibleViewPointListRespDto_1.getNextLevelTargetObjList()) {
              BffNextLevelTargetObjDto retElm = new BffNextLevelTargetObjDto();
             if(queryResponsibleViewPointListRespDto_1!=null){
      retElm.setObjectiveId(nextLevelTargetObjDto.getObjectiveId());//SimpleFieldAssign//sourceId:53193_2
retElm.setParentObjectiveId(nextLevelTargetObjDto.getParentObjectiveId());//SimpleFieldAssign//sourceId:53194_2
retElm.setObjectiveCode(nextLevelTargetObjDto.getObjectiveCode());//SimpleFieldAssign//sourceId:53195_2
retElm.setObjectiveShortName(nextLevelTargetObjDto.getObjectiveShortName());//SimpleFieldAssign//sourceId:233742_2
retElm.setIsLastObjective(nextLevelTargetObjDto.getIsLastObjective());//SimpleFieldAssign//sourceId:53196_2
retElm.setLevelNumber(nextLevelTargetObjDto.getLevelNumber());//SimpleFieldAssign//sourceId:53197_2
retElm.setRespBodyType(nextLevelTargetObjDto.getRespBodyType());//SimpleFieldAssign//sourceId:97566_2
retElm.setDeptId(nextLevelTargetObjDto.getDeptId());//SimpleFieldAssign//sourceId:54570_2
retElm.setUserId(nextLevelTargetObjDto.getUserId());//SimpleFieldAssign//sourceId:54571_2
retElm.setSubjectLifeCycle(nextLevelTargetObjDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:53510_2
retElm.setOrderNumber(nextLevelTargetObjDto.getOrderNumber());//SimpleFieldAssign//sourceId:248302_2
retElm.setDutyBodyOrderNum(nextLevelTargetObjDto.getDutyBodyOrderNum());//SimpleFieldAssign//sourceId:248303_2
retElm.setPersonalOrderNumber(nextLevelTargetObjDto.getPersonalOrderNumber());//SimpleFieldAssign//sourceId:248304_2
retElm.setWeightOrderNumber(nextLevelTargetObjDto.getWeightOrderNumber());//SimpleFieldAssign//sourceId:248305_2
retElm.setCreateTime(nextLevelTargetObjDto.getCreateTime());//SimpleFieldAssign//sourceId:248306_2
retElm.setOperateTime(nextLevelTargetObjDto.getOperateTime());//SimpleFieldAssign//sourceId:248307_2
    }
              retData.getNextLevelTargetObjList().add(retElm);
               if(batchQueryDeptComBorderRespDto_1!= null){
          for (DeptDto deptDto : batchQueryDeptComBorderRespDto_1.getDeptList()) {
                if (deptDto.getDeptId().equals(nextLevelTargetObjDto.getDeptId())) {
                 if(batchQueryDeptComBorderRespDto_1!=null){
      retElm.setDeptShortName(deptDto.getDeptShortName());//SimpleFieldAssign//sourceId:53227_2
    }
                }
            }
          }
        
 if(batchQueryUserinfoRespDto_1!= null){
          for (UserInfoDto userInfoDto : batchQueryUserinfoRespDto_1.getUserInfoList()) {
                if (userInfoDto.getUserId().equals(nextLevelTargetObjDto.getUserId())) {
                 if(batchQueryUserinfoRespDto_1!=null){
      retElm.setIdCardName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:53310_2
retElm.setNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:53311_2
    }
                }
            }
          }
        
          }
        }//sourceId:95061_1
if(queryResponsibleViewPointListRespDto_1!=null){
      retData.setResponsibleViewPointList(queryResponsibleViewPointListRespDto_1.getResponsibleViewPointList().stream().map(item -> BeanUtil.toBean(item, BffResponsibleViewPointDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:642472_1
    }

// TODO: 2022/9/15 胡睿哲，晓东，AB树后续再对接，先手写
        List<TreeNode> nodeList = new ArrayList<>();

        for(BffResponsibleViewPointDto main :retData.getResponsibleViewPointList()){
            TreeNode node = new TreeNode();
            node.setNLevel(1L);
            node.setSelf(main);
            nodeList.add(node);
            for(BffNextLevelTargetObjDto sub : retData.getNextLevelTargetObjList()){
                if(sub.getParentObjectiveId().equals(main.getObjectiveId())){
                    TreeNode subNode = new TreeNode();
                    subNode.setNLevel(2L);
                    subNode.setSelf(sub);
                    node.getChildrenList().add(subNode);
                }
            }
        }
     retData.setTreeNode(nodeList);
     retData.setResponsibleViewPointList(null);
retData.setNextLevelTargetObjList(null);
    
return retData;
  }
/**
   * B3-3查高层看观测点安排进展列表(管理)[2982]
   * gen by moon at 10/8/2022, 3:09:34 AM
   */
    @Trace(operationName = "B3-3查高层看观测点安排进展列表(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
    @BanAuto
  public BffQueryHighRiseLookObjScheduleListRespDto queryHighRiseLookObjScheduleList(BffQueryHighRiseLookObjScheduleListReqDto reqDto){
      
       
       QueryHighRiseObjScheduleListRespDto queryHighRiseObjScheduleListRespDto_1 =null;
//步骤0: D3-3查高层观测点安排进展列表 - queryHighRiseObjScheduleList
     QueryHighRiseObjScheduleListRespDto queryHighRiseObjScheduleListRespDto = null;
    QueryHighRiseObjScheduleListReqDto queryHighRiseObjScheduleListReqDto=new QueryHighRiseObjScheduleListReqDto();
  if(reqDto!=null){
      queryHighRiseObjScheduleListReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:96862_1
queryHighRiseObjScheduleListReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:96863_1
    }
  
    /*D3-3查高层观测点安排进展列表[2980]   */
    Assert.isNull(queryHighRiseObjScheduleListReqDto.getDeptId(),"B3-3查高层看观测点安排进展列表(管理)-D3-3查高层观测点安排进展列表-牵头部门ID不能为空",false);
Assert.isNull(queryHighRiseObjScheduleListReqDto.getTargetId(),"B3-3查高层看观测点安排进展列表(管理)-D3-3查高层观测点安排进展列表-冗余目标ID不能为空",false);
      queryHighRiseObjScheduleListRespDto = fwAppIndexSystemClient.queryHighRiseObjScheduleList(queryHighRiseObjScheduleListReqDto).getData();
      
      
      queryHighRiseObjScheduleListRespDto_1 = queryHighRiseObjScheduleListRespDto;
    
BffQueryHighRiseLookObjScheduleListRespDto retData = new BffQueryHighRiseLookObjScheduleListRespDto();
  if(queryHighRiseObjScheduleListRespDto_1!=null){
      retData.setHighRiseObjScheduleList(queryHighRiseObjScheduleListRespDto_1.getHighRiseObjScheduleList().stream().map(item -> BeanUtil.toBean(item, BffHighRiseObjScheduleDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:96860_1
retData.setNextLevelTargetObjList(queryHighRiseObjScheduleListRespDto_1.getNextLevelTargetObjList().stream().map(item -> BeanUtil.toBean(item, BffNextLevelTargetObjDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:96908_1
    }

        List<TreeNode> nodeList = new ArrayList<>();
        // TODO: 2022/10/6 晓东，AB树，对接
        for(BffHighRiseObjScheduleDto main :retData.getHighRiseObjScheduleList()){
            TreeNode node = new TreeNode();
            node.setNLevel(1L);
            node.setSelf(main);
            nodeList.add(node);
            for(BffNextLevelTargetObjDto sub : retData.getNextLevelTargetObjList()){
                if(sub.getParentObjectiveId().equals(main.getObjectiveId())){
                    TreeNode subNode = new TreeNode();
                    subNode.setNLevel(2L);
                    subNode.setSelf(sub);
                    node.getChildrenList().add(subNode);
                }
            }
        }


        retData.setTreeNode(nodeList);
        retData.setHighRiseObjScheduleList(null);
        retData.setNextLevelTargetObjList(null);
        return retData;
  }
/**
   * B3-13修订中层指标资料(管理)[4173]
   * gen by moon at 9/18/2022, 9:27:22 PM
   */
    @Trace(operationName = "B3-13修订中层指标资料(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffReviseMidTargetDataRespDto reviseMidTargetData(BffReviseMidTargetDataReqDto reqDto){
      
       
       //步骤0: D3查询高中基层批次操作可用判断(公共) - queryTopMidBasicBatchOperateJudgeDetailCom
     QueryTopMidBasicBatchOperateJudgeDetailComRespDto queryTopMidBasicBatchOperateJudgeDetailComRespDto = null;
    QueryTopMidBasicBatchOperateJudgeDetailComReqDto queryTopMidBasicBatchOperateJudgeDetailComReqDto=new QueryTopMidBasicBatchOperateJudgeDetailComReqDto();
  queryTopMidBasicBatchOperateJudgeDetailComReqDto.setBatchOperateScene("MID");//sourceId:255692_1
queryTopMidBasicBatchOperateJudgeDetailComReqDto.setEvaTempBatchMgtOperationType("TRAILING_OPERATION");//sourceId:307165_1
if(reqDto!=null){
      queryTopMidBasicBatchOperateJudgeDetailComReqDto.setDeptId(reqDto.getDeptId());//sourceId:329767_1
queryTopMidBasicBatchOperateJudgeDetailComReqDto.setEntityId(reqDto.getEntityId());//sourceId:255693_1
queryTopMidBasicBatchOperateJudgeDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//sourceId:329768_1
    }
  
    /*D3查询高中基层批次操作可用判断(公共)[3979]   */
    Assert.isNull(queryTopMidBasicBatchOperateJudgeDetailComReqDto.getBatchOperateScene(),"B3-13修订中层指标资料(管理)-D3查询高中基层批次操作可用判断(公共)-高/中/基层操作场景不能为空",false);
Assert.isNull(queryTopMidBasicBatchOperateJudgeDetailComReqDto.getEvaTempBatchMgtOperationType(),"B3-13修订中层指标资料(管理)-D3查询高中基层批次操作可用判断(公共)-评价模板批次下管理操作类型不能为空",false);
Assert.isNull(queryTopMidBasicBatchOperateJudgeDetailComReqDto.getDeptId(),"B3-13修订中层指标资料(管理)-D3查询高中基层批次操作可用判断(公共)-部门ID不能为空",false);
Assert.isNull(queryTopMidBasicBatchOperateJudgeDetailComReqDto.getEntityId(),"B3-13修订中层指标资料(管理)-D3查询高中基层批次操作可用判断(公共)-目标ID不能为空",false);
Assert.isNull(queryTopMidBasicBatchOperateJudgeDetailComReqDto.getEvaluationTemplateId(),"B3-13修订中层指标资料(管理)-D3查询高中基层批次操作可用判断(公共)-冗余评价模板ID不能为空",false);
      queryTopMidBasicBatchOperateJudgeDetailComRespDto = fwAppBatchClient.queryTopMidBasicBatchOperateJudgeDetailCom(queryTopMidBasicBatchOperateJudgeDetailComReqDto).getData();
      Assert.isTrue(queryTopMidBasicBatchOperateJudgeDetailComRespDto== null||  queryTopMidBasicBatchOperateJudgeDetailComRespDto.getOutputNum() ==null,"返回值不能为空",false);
      
      
    
//步骤1: D3-3查询指标详情(公共) - queryTargetObjDetailCom
     QueryTargetObjDetailComRespDto queryTargetObjDetailComRespDto = null;
    QueryTargetObjDetailComReqDto queryTargetObjDetailComReqDto=new QueryTargetObjDetailComReqDto();
  if(reqDto!=null){
      queryTargetObjDetailComReqDto.setObjectiveId(reqDto.getObjectiveId());//sourceId:317305_1
    }
  
    /*D3-3查询指标详情(公共)[2794]   */
    Assert.isNull(queryTargetObjDetailComReqDto.getObjectiveId(),"B3-13修订中层指标资料(管理)-D3-3查询指标详情(公共)-指标ID不能为空",false);
      queryTargetObjDetailComRespDto = fwAppIndexSystemClient.queryTargetObjDetailCom(queryTargetObjDetailComReqDto).getData();
      Assert.isTrue(queryTargetObjDetailComRespDto== null||  queryTargetObjDetailComRespDto.getObjectiveShortName() ==null,"返回值不能为空",false);
      
      
    
//步骤2: D3修订业务应用变更字段(公共) - reviseBizAppChangeColCom
     ReviseBizAppChangeColComRespDto reviseBizAppChangeColComRespDto = null;
    if(queryTopMidBasicBatchOperateJudgeDetailComRespDto !=null){
          ReviseBizAppChangeColComReqDto reviseBizAppChangeColComReqDto=new ReviseBizAppChangeColComReqDto();
  reviseBizAppChangeColComReqDto.setBatchEndtTime(CommonFunctionHelper.getFutureTime());//FUTURE_CURRENT_TIME//sourceId:317320_1
reviseBizAppChangeColComReqDto.setIsEditing("TRUE");//sourceId:317321_1
reviseBizAppChangeColComReqDto.setSubjectLifeCycle("EDITING");//sourceId:317322_1
reviseBizAppChangeColComReqDto.setSubjectTypeCode("MID_TARGET_DIVISION_LOG_NAV");//sourceId:317323_1
reviseBizAppChangeColComReqDto.setSubjectChangeType("ADD_VIEW_POINT");//CUSTOM_CONVENTION//sourceId:317324_1
reviseBizAppChangeColComReqDto.setTableTypeCode("OMS_TARGET_OBJECTIVE");//sourceId:317325_1
reviseBizAppChangeColComReqDto.setEntityName("objectiveId");//CUSTOM_CONVENTION//sourceId:317326_1
reviseBizAppChangeColComReqDto.setObjectTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:317328_1
if(queryTopMidBasicBatchOperateJudgeDetailComRespDto!=null){
      reviseBizAppChangeColComReqDto.setBatchCode(queryTopMidBasicBatchOperateJudgeDetailComRespDto.getBatchCode());//sourceId:317318_1
    }
if(reqDto!=null){
      reviseBizAppChangeColComReqDto.setEntityId(reqDto.getObjectiveId());//sourceId:317327_1
reviseBizAppChangeColComReqDto.setObjectId(reqDto.getEvaluationTemplateId());//sourceId:317329_1
reviseBizAppChangeColComReqDto.setChangeColumnList(reqDto.getChangeColumnList().stream().map(item -> BeanUtil.toBean(item, ChangeColumnDto.class)).collect(Collectors.toList()));//sourceId:317331_1
    }
if(queryTargetObjDetailComRespDto!=null){
      reviseBizAppChangeColComReqDto.setReviseSubjectContent(queryTargetObjDetailComRespDto.getObjectiveShortName());//sourceId:317330_1
    }
  
    /*D3修订业务应用变更字段(公共)[3889]   */
    Assert.isNull(reviseBizAppChangeColComReqDto.getBatchCode(),"B3-13修订中层指标资料(管理)-D3修订业务应用变更字段(公共)-批次标识不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getBatchEndtTime(),"B3-13修订中层指标资料(管理)-D3修订业务应用变更字段(公共)-批次结束时间不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getIsEditing(),"B3-13修订中层指标资料(管理)-D3修订业务应用变更字段(公共)-是否未来不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getSubjectLifeCycle(),"B3-13修订中层指标资料(管理)-D3修订业务应用变更字段(公共)-主体生命周期不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getSubjectTypeCode(),"B3-13修订中层指标资料(管理)-D3修订业务应用变更字段(公共)-主体类型编码不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getSubjectChangeType(),"B3-13修订中层指标资料(管理)-D3修订业务应用变更字段(公共)-主体变更日志类型不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getTableTypeCode(),"B3-13修订中层指标资料(管理)-D3修订业务应用变更字段(公共)-内容表类型编码不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getEntityName(),"B3-13修订中层指标资料(管理)-D3修订业务应用变更字段(公共)-内容表主键行为日志英文名称不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getEntityId(),"B3-13修订中层指标资料(管理)-D3修订业务应用变更字段(公共)-内容表主键ID不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getObjectTypeCode(),"B3-13修订中层指标资料(管理)-D3修订业务应用变更字段(公共)-归属对象类型编码不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getObjectId(),"B3-13修订中层指标资料(管理)-D3修订业务应用变更字段(公共)-归属对象内容ID不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getReviseSubjectContent(),"B3-13修订中层指标资料(管理)-D3修订业务应用变更字段(公共)-修订主体内容不能为空",false);
      reviseBizAppChangeColComRespDto = fwAppChangeColumnClient.reviseBizAppChangeColCom(reviseBizAppChangeColComReqDto).getData();
      
      
      
           }
    
BffReviseMidTargetDataRespDto retData = new BffReviseMidTargetDataRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-13修订基层指标资料(管理)[4174]
   * gen by moon at 9/18/2022, 9:27:24 PM
   */
    @Trace(operationName = "B3-13修订基层指标资料(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffReviseBasicTargetDataRespDto reviseBasicTargetData(BffReviseBasicTargetDataReqDto reqDto){
      
       
       //步骤0: D3查询高中基层批次操作可用判断(公共) - queryTopMidBasicBatchOperateJudgeDetailCom
     QueryTopMidBasicBatchOperateJudgeDetailComRespDto queryTopMidBasicBatchOperateJudgeDetailComRespDto = null;
    QueryTopMidBasicBatchOperateJudgeDetailComReqDto queryTopMidBasicBatchOperateJudgeDetailComReqDto=new QueryTopMidBasicBatchOperateJudgeDetailComReqDto();
  queryTopMidBasicBatchOperateJudgeDetailComReqDto.setBatchOperateScene("BASIC");//sourceId:255723_1
queryTopMidBasicBatchOperateJudgeDetailComReqDto.setEvaTempBatchMgtOperationType("TRAILING_OPERATION");//sourceId:307166_1
if(reqDto!=null){
      queryTopMidBasicBatchOperateJudgeDetailComReqDto.setDeptId(reqDto.getDeptId());//sourceId:329763_1
queryTopMidBasicBatchOperateJudgeDetailComReqDto.setEntityId(reqDto.getEntityId());//sourceId:255724_1
queryTopMidBasicBatchOperateJudgeDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//sourceId:329764_1
    }
  
    /*D3查询高中基层批次操作可用判断(公共)[3979]   */
    Assert.isNull(queryTopMidBasicBatchOperateJudgeDetailComReqDto.getBatchOperateScene(),"B3-13修订基层指标资料(管理)-D3查询高中基层批次操作可用判断(公共)-高/中/基层操作场景不能为空",false);
Assert.isNull(queryTopMidBasicBatchOperateJudgeDetailComReqDto.getEvaTempBatchMgtOperationType(),"B3-13修订基层指标资料(管理)-D3查询高中基层批次操作可用判断(公共)-评价模板批次下管理操作类型不能为空",false);
Assert.isNull(queryTopMidBasicBatchOperateJudgeDetailComReqDto.getDeptId(),"B3-13修订基层指标资料(管理)-D3查询高中基层批次操作可用判断(公共)-部门ID不能为空",false);
Assert.isNull(queryTopMidBasicBatchOperateJudgeDetailComReqDto.getEntityId(),"B3-13修订基层指标资料(管理)-D3查询高中基层批次操作可用判断(公共)-目标ID不能为空",false);
Assert.isNull(queryTopMidBasicBatchOperateJudgeDetailComReqDto.getEvaluationTemplateId(),"B3-13修订基层指标资料(管理)-D3查询高中基层批次操作可用判断(公共)-冗余评价模板ID不能为空",false);
      queryTopMidBasicBatchOperateJudgeDetailComRespDto = fwAppBatchClient.queryTopMidBasicBatchOperateJudgeDetailCom(queryTopMidBasicBatchOperateJudgeDetailComReqDto).getData();
      
      
      
    
//步骤1: D3-3查询指标详情(公共) - queryTargetObjDetailCom
     QueryTargetObjDetailComRespDto queryTargetObjDetailComRespDto = null;
    QueryTargetObjDetailComReqDto queryTargetObjDetailComReqDto=new QueryTargetObjDetailComReqDto();
  if(reqDto!=null){
      queryTargetObjDetailComReqDto.setObjectiveId(reqDto.getObjectiveId());//sourceId:317332_1
    }
  
    /*D3-3查询指标详情(公共)[2794]   */
    Assert.isNull(queryTargetObjDetailComReqDto.getObjectiveId(),"B3-13修订基层指标资料(管理)-D3-3查询指标详情(公共)-指标ID不能为空",false);
      queryTargetObjDetailComRespDto = fwAppIndexSystemClient.queryTargetObjDetailCom(queryTargetObjDetailComReqDto).getData();
      
      
      
    
//步骤2: D3修订业务应用变更字段(公共) - reviseBizAppChangeColCom
     ReviseBizAppChangeColComRespDto reviseBizAppChangeColComRespDto = null;
    if(queryTopMidBasicBatchOperateJudgeDetailComRespDto !=null){
          ReviseBizAppChangeColComReqDto reviseBizAppChangeColComReqDto=new ReviseBizAppChangeColComReqDto();
  reviseBizAppChangeColComReqDto.setBatchEndtTime(CommonFunctionHelper.getFutureTime());//FUTURE_CURRENT_TIME//sourceId:317357_1
reviseBizAppChangeColComReqDto.setIsEditing("TRUE");//sourceId:317358_1
reviseBizAppChangeColComReqDto.setSubjectLifeCycle("EDITING");//sourceId:317359_1
reviseBizAppChangeColComReqDto.setSubjectTypeCode("BASIC_TARGET_DIVISION_LOG_NAV");//sourceId:317360_1
reviseBizAppChangeColComReqDto.setSubjectChangeType("REVISE_VIEW_POINT");//CUSTOM_CONVENTION//sourceId:317361_1
reviseBizAppChangeColComReqDto.setTableTypeCode("OMS_TARGET_OBJECTIVE");//sourceId:317362_1
reviseBizAppChangeColComReqDto.setEntityName("objectiveId");//CUSTOM_CONVENTION//sourceId:317363_1
reviseBizAppChangeColComReqDto.setObjectTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:317365_1
if(queryTopMidBasicBatchOperateJudgeDetailComRespDto!=null){
      reviseBizAppChangeColComReqDto.setBatchCode(queryTopMidBasicBatchOperateJudgeDetailComRespDto.getBatchCode());//sourceId:317355_1
    }
if(reqDto!=null){
      reviseBizAppChangeColComReqDto.setEntityId(reqDto.getObjectiveId());//sourceId:317364_1
reviseBizAppChangeColComReqDto.setObjectId(reqDto.getEvaluationTemplateId());//sourceId:317366_1
reviseBizAppChangeColComReqDto.setChangeColumnList(reqDto.getChangeColumnList().stream().map(item -> BeanUtil.toBean(item, ChangeColumnDto.class)).collect(Collectors.toList()));//sourceId:317368_1
    }
if(queryTargetObjDetailComRespDto!=null){
      reviseBizAppChangeColComReqDto.setReviseSubjectContent(queryTargetObjDetailComRespDto.getObjectiveShortName());//sourceId:317367_1
    }
  
    /*D3修订业务应用变更字段(公共)[3889]   */
    Assert.isNull(reviseBizAppChangeColComReqDto.getBatchCode(),"B3-13修订基层指标资料(管理)-D3修订业务应用变更字段(公共)-批次标识不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getBatchEndtTime(),"B3-13修订基层指标资料(管理)-D3修订业务应用变更字段(公共)-批次结束时间不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getIsEditing(),"B3-13修订基层指标资料(管理)-D3修订业务应用变更字段(公共)-是否未来不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getSubjectLifeCycle(),"B3-13修订基层指标资料(管理)-D3修订业务应用变更字段(公共)-主体生命周期不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getSubjectTypeCode(),"B3-13修订基层指标资料(管理)-D3修订业务应用变更字段(公共)-主体类型编码不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getSubjectChangeType(),"B3-13修订基层指标资料(管理)-D3修订业务应用变更字段(公共)-主体变更日志类型不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getTableTypeCode(),"B3-13修订基层指标资料(管理)-D3修订业务应用变更字段(公共)-内容表类型编码不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getEntityName(),"B3-13修订基层指标资料(管理)-D3修订业务应用变更字段(公共)-内容表主键行为日志英文名称不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getEntityId(),"B3-13修订基层指标资料(管理)-D3修订业务应用变更字段(公共)-内容表主键ID不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getObjectTypeCode(),"B3-13修订基层指标资料(管理)-D3修订业务应用变更字段(公共)-归属对象类型编码不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getObjectId(),"B3-13修订基层指标资料(管理)-D3修订业务应用变更字段(公共)-归属对象内容ID不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getReviseSubjectContent(),"B3-13修订基层指标资料(管理)-D3修订业务应用变更字段(公共)-修订主体内容不能为空",false);
      reviseBizAppChangeColComRespDto = fwAppChangeColumnClient.reviseBizAppChangeColCom(reviseBizAppChangeColComReqDto).getData();
      
      
      
           }
    
BffReviseBasicTargetDataRespDto retData = new BffReviseBasicTargetDataRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-3查牵头部门指标列表(管理)[2579]
   * gen by moon at 11/7/2022, 5:43:41 AM
   */
    @Trace(operationName = "B3-3查牵头部门指标列表(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryLeadDeptTargetObjListRespDto queryLeadDeptTargetObjList(BffQueryLeadDeptTargetObjListReqDto reqDto){
      
       
       QueryLeadDeptTargetObjListRespDto queryLeadDeptTargetObjListRespDto_1 =null;
//步骤0: D3-3查牵头部门指标列表 - queryLeadDeptTargetObjList
     QueryLeadDeptTargetObjListRespDto queryLeadDeptTargetObjListRespDto = null;
    QueryLeadDeptTargetObjListReqDto queryLeadDeptTargetObjListReqDto=new QueryLeadDeptTargetObjListReqDto();
  queryLeadDeptTargetObjListReqDto.setDeptType("LEAD_DEPT");//sourceId:98815_1
queryLeadDeptTargetObjListReqDto.setIsArchive("FALSE");//sourceId:98816_1
if(reqDto!=null){
      queryLeadDeptTargetObjListReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:98814_1
queryLeadDeptTargetObjListReqDto.setParentTargetCategoryId(reqDto.getParentTargetCategoryId());//SimpleFieldAssign//sourceId:424273_1
queryLeadDeptTargetObjListReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:418182_1
    }
  
    /*D3-3查牵头部门指标列表[2705]   */
    Assert.isNull(queryLeadDeptTargetObjListReqDto.getDeptId(),"B3-3查牵头部门指标列表(管理)-D3-3查牵头部门指标列表-虚拟组织下部门ID不能为空",false);
Assert.isNull(queryLeadDeptTargetObjListReqDto.getParentTargetCategoryId(),"B3-3查牵头部门指标列表(管理)-D3-3查牵头部门指标列表-归属父级目标分类ID不能为空",false);
Assert.isNull(queryLeadDeptTargetObjListReqDto.getEvaluationTemplateId(),"B3-3查牵头部门指标列表(管理)-D3-3查牵头部门指标列表-评价模板ID不能为空",false);
Assert.isNull(queryLeadDeptTargetObjListReqDto.getDeptType(),"B3-3查牵头部门指标列表(管理)-D3-3查牵头部门指标列表-部门类型编码不能为空",false);
Assert.isNull(queryLeadDeptTargetObjListReqDto.getIsArchive(),"B3-3查牵头部门指标列表(管理)-D3-3查牵头部门指标列表-是否存档不能为空",false);
      queryLeadDeptTargetObjListRespDto = fwAppIndexSystemClient.queryLeadDeptTargetObjList(queryLeadDeptTargetObjListReqDto).getData();
      
      
      queryLeadDeptTargetObjListRespDto_1 = queryLeadDeptTargetObjListRespDto;
    
BffQueryLeadDeptTargetObjListRespDto retData = new BffQueryLeadDeptTargetObjListRespDto();
  if(queryLeadDeptTargetObjListRespDto_1!=null){
      retData.setTargetObjList(queryLeadDeptTargetObjListRespDto_1.getTargetObjList().stream().map(item -> BeanUtil.toBean(item, BffTargetObjDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:84491_1
    }
  

  
  
return retData;
  }
/**
   * B3-3查指标牵头部门列表(管理)[2707]
   * gen by moon at 12/29/2022, 12:58:07 PM
   */
    @Trace(operationName = "B3-3查指标牵头部门列表(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryTargetObjLeadDeptListRespDto queryTargetObjLeadDeptList(BffQueryTargetObjLeadDeptListReqDto reqDto){
      
       
       QueryTargetObjLeadDeptListRespDto queryTargetObjLeadDeptListRespDto_1 =null;
BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto_1 =null;
//步骤0: D3-3查指标牵头部门列表 - queryTargetObjLeadDeptList
     QueryTargetObjLeadDeptListRespDto queryTargetObjLeadDeptListRespDto = null;
    QueryTargetObjLeadDeptListReqDto queryTargetObjLeadDeptListReqDto=new QueryTargetObjLeadDeptListReqDto();
  queryTargetObjLeadDeptListReqDto.setIsArchive("FALSE");//sourceId:84564_1
if(reqDto!=null){
      queryTargetObjLeadDeptListReqDto.setParentTargetCategoryId(reqDto.getParentTargetCategoryId());//SimpleFieldAssign//sourceId:550668_1
queryTargetObjLeadDeptListReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:418186_1
    }
  
    /*D3-3查指标牵头部门列表[2708]   */
    Assert.isNull(queryTargetObjLeadDeptListReqDto.getParentTargetCategoryId(),"B3-3查指标牵头部门列表(管理)-D3-3查指标牵头部门列表-归属父级目标分类ID不能为空",false);
Assert.isNull(queryTargetObjLeadDeptListReqDto.getEvaluationTemplateId(),"B3-3查指标牵头部门列表(管理)-D3-3查指标牵头部门列表-冗余评价模板ID不能为空",false);
Assert.isNull(queryTargetObjLeadDeptListReqDto.getIsArchive(),"B3-3查指标牵头部门列表(管理)-D3-3查指标牵头部门列表-是否存档不能为空",false);
      queryTargetObjLeadDeptListRespDto = fwAppIndexSystemClient.queryTargetObjLeadDeptList(queryTargetObjLeadDeptListReqDto).getData();
      
      
      queryTargetObjLeadDeptListRespDto_1 = queryTargetObjLeadDeptListRespDto;
    
//步骤1: D1-3批量查部门(公共)(边界) - batchQueryDeptComBorder
     BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto = null;
    if(queryTargetObjLeadDeptListRespDto !=null){
          BatchQueryDeptComBorderReqDto batchQueryDeptComBorderReqDto=new BatchQueryDeptComBorderReqDto();
  if(queryTargetObjLeadDeptListRespDto!=null){
      batchQueryDeptComBorderReqDto.setDeptList(queryTargetObjLeadDeptListRespDto.getVirtualOrgMemberDeptList().stream().map(item->item.getDeptId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:84576_1
    }
  
    /*D1-3批量查部门(公共)(边界)[2568]   */
    
      batchQueryDeptComBorderRespDto = fwBaseOrgClient.batchQueryDeptComBorder(batchQueryDeptComBorderReqDto).getData();
      
      
      batchQueryDeptComBorderRespDto_1 = batchQueryDeptComBorderRespDto;
           }
    
BffQueryTargetObjLeadDeptListRespDto retData = new BffQueryTargetObjLeadDeptListRespDto();
  //数据集融合  MoreListToOneSource
        if(queryTargetObjLeadDeptListRespDto_1!= null && !CollectionUtil.isEmpty(queryTargetObjLeadDeptListRespDto_1.getVirtualOrgMemberDeptList()) ){
          for (VirtualOrgMemberDeptDto virtualOrgMemberDeptDto : queryTargetObjLeadDeptListRespDto_1.getVirtualOrgMemberDeptList()) {
              BffVirtualOrgMemberDeptDto retElm = new BffVirtualOrgMemberDeptDto();
             if(queryTargetObjLeadDeptListRespDto_1!=null){
      retElm.setDeptId(virtualOrgMemberDeptDto.getDeptId());//SimpleFieldAssign//sourceId:47272_2
    }
              retData.getVirtualOrgMemberDeptList().add(retElm);
               if(batchQueryDeptComBorderRespDto_1!= null){
          for (DeptDto deptDto : batchQueryDeptComBorderRespDto_1.getDeptList()) {
                if (deptDto.getDeptId().equals(virtualOrgMemberDeptDto.getDeptId())) {
                 if(batchQueryDeptComBorderRespDto_1!=null){
      retElm.setDeptShortName(deptDto.getDeptShortName());//SimpleFieldAssign//sourceId:47276_2
    }
                }
            }
          }
        
          }
        }//sourceId:84574_1
  

  
  
return retData;
  }
/**
   * B3-3查高层购物车查目标分类详情[2721]
   * gen by moon at 1/6/2023, 2:17:01 AM
   */
    @Trace(operationName = "B3-3查高层购物车查目标分类详情")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryTargetCatDetailRespDto queryTargetCatDetail(BffQueryTargetCatDetailReqDto reqDto){
      
       
       QueryTopCartTargetCatDetailRespDto queryTopCartTargetCatDetailRespDto_1 =null;
QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto_1 =null;
QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_1 =null;
//步骤0: D3-3查询高层购物车目标分类详情 - queryTopCartTargetCatDetail
     QueryTopCartTargetCatDetailRespDto queryTopCartTargetCatDetailRespDto = null;
    QueryTopCartTargetCatDetailReqDto queryTopCartTargetCatDetailReqDto=new QueryTopCartTargetCatDetailReqDto();
  if(reqDto!=null){
      queryTopCartTargetCatDetailReqDto.setTargetCategoryId(reqDto.getTargetCategoryId());//SimpleFieldAssign//sourceId:457730_1
queryTopCartTargetCatDetailReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:457731_1
    }
  
    /*D3-3查询高层购物车目标分类详情[2722]   */
    Assert.isNull(queryTopCartTargetCatDetailReqDto.getTargetCategoryId(),"B3-3查高层购物车查目标分类详情-D3-3查询高层购物车目标分类详情-目标分类ID不能为空",false);
Assert.isNull(queryTopCartTargetCatDetailReqDto.getEvaluationTemplateId(),"B3-3查高层购物车查目标分类详情-D3-3查询高层购物车目标分类详情-冗余评价模板ID不能为空",false);
      queryTopCartTargetCatDetailRespDto = fwAppIndexSystemClient.queryTopCartTargetCatDetail(queryTopCartTargetCatDetailReqDto).getData();
      
      
      queryTopCartTargetCatDetailRespDto_1 = queryTopCartTargetCatDetailRespDto;
    
//步骤1: D1-3查询部门详情(公共)(边界) - queryDeptDetailComBorder
     QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto = null;
    if(queryTopCartTargetCatDetailRespDto !=null&&queryTopCartTargetCatDetailRespDto!= null&&  queryTopCartTargetCatDetailRespDto.getDeptId() !=null){
          QueryDeptDetailComBorderReqDto queryDeptDetailComBorderReqDto=new QueryDeptDetailComBorderReqDto();
  if(queryTopCartTargetCatDetailRespDto!=null){
      queryDeptDetailComBorderReqDto.setDeptId(queryTopCartTargetCatDetailRespDto.getDeptId());//SimpleFieldAssign//sourceId:89899_1
    }
  
    /*D1-3查询部门详情(公共)(边界)[2691]   */
    Assert.isNull(queryDeptDetailComBorderReqDto.getDeptId(),"B3-3查高层购物车查目标分类详情-D1-3查询部门详情(公共)(边界)-部门ID不能为空",false);
      queryDeptDetailComBorderRespDto = fwBaseOrgClient.queryDeptDetailComBorder(queryDeptDetailComBorderReqDto).getData();
      
      
      queryDeptDetailComBorderRespDto_1 = queryDeptDetailComBorderRespDto;
           }
    
//步骤2: D1-3查询个人就职记录信息详情（公共） - queryInductionRecordInfoDetailCom
     QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
    if(queryTopCartTargetCatDetailRespDto !=null&&queryTopCartTargetCatDetailRespDto!= null&&  queryTopCartTargetCatDetailRespDto.getVirtualOrgInductionRecordId() !=null){
          QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto=new QueryInductionRecordInfoDetailComReqDto();
  if(queryTopCartTargetCatDetailRespDto!=null){
      queryInductionRecordInfoDetailComReqDto.setInductionRecordId(queryTopCartTargetCatDetailRespDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:89902_1
    }
  
    /*D1-3查询个人就职记录信息详情（公共）[715]   */
    Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(),"B3-3查高层购物车查目标分类详情-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空",false);
      queryInductionRecordInfoDetailComRespDto = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData();
      
      
      queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto;
           }
    
BffQueryTargetCatDetailRespDto retData = new BffQueryTargetCatDetailRespDto();
  if(queryTopCartTargetCatDetailRespDto_1!=null){
      retData.setTargetCategoryId(queryTopCartTargetCatDetailRespDto_1.getTargetCategoryId());//SimpleFieldAssign//sourceId:84912_1
retData.setTargetCategoryCode(queryTopCartTargetCatDetailRespDto_1.getTargetCategoryCode());//SimpleFieldAssign//sourceId:585020_1
retData.setTargetCategoryName(queryTopCartTargetCatDetailRespDto_1.getTargetCategoryName());//SimpleFieldAssign//sourceId:459203_1
retData.setIsLast(queryTopCartTargetCatDetailRespDto_1.getIsLast());//SimpleFieldAssign//sourceId:585021_1
retData.setPeriodicModeTypeCode(queryTopCartTargetCatDetailRespDto_1.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:377020_1
retData.setParentTargetContentName(queryTopCartTargetCatDetailRespDto_1.getParentTargetContentName());//SimpleFieldAssign//sourceId:459204_1
retData.setEvaObjTargetCycleId(queryTopCartTargetCatDetailRespDto_1.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:585053_1
retData.setCycleStandardName(queryTopCartTargetCatDetailRespDto_1.getCycleStandardName());//SimpleFieldAssign//sourceId:457017_1
retData.setDeptId(queryTopCartTargetCatDetailRespDto_1.getDeptId());//SimpleFieldAssign//sourceId:89896_1
retData.setVirtualOrgInductionRecordId(queryTopCartTargetCatDetailRespDto_1.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:89897_1
    }
if(queryDeptDetailComBorderRespDto_1!=null){
      retData.setDeptShortName(queryDeptDetailComBorderRespDto_1.getDeptShortName());//SimpleFieldAssign//sourceId:89908_1
    }
if(queryInductionRecordInfoDetailComRespDto_1!=null){
      retData.setUserFace(queryInductionRecordInfoDetailComRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:461789_1
retData.setIdCardName(queryInductionRecordInfoDetailComRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:89909_1
retData.setNickName(queryInductionRecordInfoDetailComRespDto_1.getNickName());//SimpleFieldAssign//sourceId:89910_1
    }
  

  
  
return retData;
  }
/**
   * B3-3查高层分工策略设置详情(管理)[2872]
   * gen by moon at 10/30/2023, 3:31:47 PM
   */
    @Trace(operationName = "B3-3查高层分工策略设置详情(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryTargetObjPlanExDetailRespDto queryTargetObjPlanExDetail(BffQueryTargetObjPlanExDetailReqDto reqDto){
      
       
       QueryTargetObjPlanExDetailRespDto queryTargetObjPlanExDetailRespDto_1 =null;
//步骤0: D3-3查高层分工策略设置详情 - queryTargetObjPlanExDetail
     QueryTargetObjPlanExDetailRespDto queryTargetObjPlanExDetailRespDto = null;
    QueryTargetObjPlanExDetailReqDto queryTargetObjPlanExDetailReqDto=new QueryTargetObjPlanExDetailReqDto();
  if(reqDto!=null){
      queryTargetObjPlanExDetailReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:91882_1
queryTargetObjPlanExDetailReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:446411_1
    }
  
    /*D3-3查高层分工策略设置详情[2883]   */
    Assert.isNull(queryTargetObjPlanExDetailReqDto.getObjectiveId(),"B3-3查高层分工策略设置详情(管理)-D3-3查高层分工策略设置详情-归属指标ID不能为空",false);
Assert.isNull(queryTargetObjPlanExDetailReqDto.getEvaluationTemplateId(),"B3-3查高层分工策略设置详情(管理)-D3-3查高层分工策略设置详情-冗余评价模板ID不能为空",false);
      queryTargetObjPlanExDetailRespDto = fwAppIndexSystemClient.queryTargetObjPlanExDetail(queryTargetObjPlanExDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryTargetObjPlanExDetailRespDto_1 = queryTargetObjPlanExDetailRespDto;
    
BffQueryTargetObjPlanExDetailRespDto retData = new BffQueryTargetObjPlanExDetailRespDto();
  if(queryTargetObjPlanExDetailRespDto_1!=null){
      retData.setObjectiveId(queryTargetObjPlanExDetailRespDto_1.getObjectiveId());//SimpleFieldAssign//sourceId:333972_1
retData.setObjectivePlanningExtendId(queryTargetObjPlanExDetailRespDto_1.getObjectivePlanningExtendId());//SimpleFieldAssign//sourceId:333971_1
retData.setCreateLowerIndicator(queryTargetObjPlanExDetailRespDto_1.getCreateLowerIndicator());//SimpleFieldAssign//sourceId:333974_1
retData.setTargetDivisionSame(queryTargetObjPlanExDetailRespDto_1.getTargetDivisionSame());//SimpleFieldAssign//sourceId:333975_1
retData.setDivisionContentId(queryTargetObjPlanExDetailRespDto_1.getDivisionContentId());//SimpleFieldAssign//sourceId:341636_1
retData.setDivisionContType(queryTargetObjPlanExDetailRespDto_1.getDivisionContType());//SimpleFieldAssign//sourceId:420001_1
retData.setEncode(queryTargetObjPlanExDetailRespDto_1.getEncode());//SimpleFieldAssign//sourceId:341637_1
    }
  

  
  
return retData;
  }
/**
   * B3-3查询下一级指标列表(管理)[3869]
   * gen by moon at 5/19/2024, 5:03:03 PM
   */
    @Trace(operationName = "B3-3查询下一级指标列表(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryNextLevelTargetObjListRespDto queryNextLevelTargetObjList(BffQueryNextLevelTargetObjListReqDto reqDto){
      
       
       QueryNextLevelTargetObjListRespDto queryNextLevelTargetObjListRespDto_1 =null;
BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto_1 =null;
BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 =null;
BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_3 =null;
ImplementDataSetMergebizAppChangeColComRespDto implementDataSetMergebizAppChangeColComRespDto_1 =null;
//步骤0: D3-3查询下一级指标列表 - queryNextLevelTargetObjList
     QueryNextLevelTargetObjListRespDto queryNextLevelTargetObjListRespDto = null;
    QueryNextLevelTargetObjListReqDto queryNextLevelTargetObjListReqDto=new QueryNextLevelTargetObjListReqDto();
  if(reqDto!=null){
      queryNextLevelTargetObjListReqDto.setParentObjectiveId(reqDto.getParentObjectiveId());//SimpleFieldAssign//sourceId:194198_1
queryNextLevelTargetObjListReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:194199_1
    }
  
    /*D3-3查询下一级指标列表[3870]   */
    Assert.isNull(queryNextLevelTargetObjListReqDto.getParentObjectiveId(),"B3-3查询下一级指标列表(管理)-D3-3查询下一级指标列表-归属父级指标ID不能为空",false);
Assert.isNull(queryNextLevelTargetObjListReqDto.getTargetId(),"B3-3查询下一级指标列表(管理)-D3-3查询下一级指标列表-冗余目标ID不能为空",false);
      queryNextLevelTargetObjListRespDto = fwAppIndexSystemClient.queryNextLevelTargetObjList(queryNextLevelTargetObjListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryNextLevelTargetObjListRespDto_1 = queryNextLevelTargetObjListRespDto;
    
//步骤1: D1-3批量查部门(公共)(边界) - batchQueryDeptComBorder
     BatchQueryDeptComBorderRespDto batchQueryDeptComBorderRespDto = null;
    if(queryNextLevelTargetObjListRespDto !=null){
          BatchQueryDeptComBorderReqDto batchQueryDeptComBorderReqDto=new BatchQueryDeptComBorderReqDto();
  if(queryNextLevelTargetObjListRespDto!= null&&  queryNextLevelTargetObjListRespDto.getNextLevelTargetObjList() !=null&& !CollectionUtil.isEmpty(queryNextLevelTargetObjListRespDto.getNextLevelTargetObjList())){
      batchQueryDeptComBorderReqDto.setDeptList(queryNextLevelTargetObjListRespDto.getNextLevelTargetObjList().stream().map(item->item.getDeptId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:217504_1
    }
  
    /*D1-3批量查部门(公共)(边界)[2568]   */
    
      batchQueryDeptComBorderRespDto = fwBaseOrgClient.batchQueryDeptComBorder(batchQueryDeptComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      batchQueryDeptComBorderRespDto_1 = batchQueryDeptComBorderRespDto;
           }
    
//步骤2: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
     BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
    if(queryNextLevelTargetObjListRespDto !=null){
          BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto=new BatchQueryInductionRecordListComReqDto();
  if(queryNextLevelTargetObjListRespDto!= null&&  queryNextLevelTargetObjListRespDto.getNextLevelTargetObjList() !=null&& !CollectionUtil.isEmpty(queryNextLevelTargetObjListRespDto.getNextLevelTargetObjList())){
      batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryNextLevelTargetObjListRespDto.getNextLevelTargetObjList().stream().map(item->String.valueOf(item.getDutyInaugurationId()))
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:221971_1
    }
  
    /*D1-3批量查询责任人就职记录列表（公共）[602]   */
    
      batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
           }
    
//步骤3: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
     BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_2 = null;
    if(queryNextLevelTargetObjListRespDto !=null){
          BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto_1=new BatchQueryInductionRecordListComReqDto();
  batchQueryInductionRecordListComReqDto_1.setOrganizationId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecHighestOrgID());//CURRENT_HIGH_ORGID//sourceId:234201_1
if(queryNextLevelTargetObjListRespDto!= null&&  queryNextLevelTargetObjListRespDto.getNextLevelTargetObjList() !=null&& !CollectionUtil.isEmpty(queryNextLevelTargetObjListRespDto.getNextLevelTargetObjList())){
      batchQueryInductionRecordListComReqDto_1.setPerOrgInductionRecordList(queryNextLevelTargetObjListRespDto.getNextLevelTargetObjList().stream().map(item->String.valueOf(item.getDirectorInaugurationId()))
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:234199_1
    }
  
    /*D1-3批量查询主管就职记录列表（公共）[602]   */
    Assert.isNull(batchQueryInductionRecordListComReqDto_1.getOrganizationId(),"B3-3查询下一级指标列表(管理)-D1-3批量查询主管就职记录列表（公共）-组织ID不能为空",false);
      batchQueryInductionRecordListComRespDto_2 = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      batchQueryInductionRecordListComRespDto_3 = batchQueryInductionRecordListComRespDto_2;
           }
    
//步骤4: D3执行数据集合并业务应用变更字段(公共) - implementDataSetMergebizAppChangeColCom
     ImplementDataSetMergebizAppChangeColComRespDto implementDataSetMergebizAppChangeColComRespDto = null;
    if(queryNextLevelTargetObjListRespDto !=null){
          ImplementDataSetMergebizAppChangeColComReqDto implementDataSetMergebizAppChangeColComReqDto=new ImplementDataSetMergebizAppChangeColComReqDto();
  implementDataSetMergebizAppChangeColComReqDto.setTableTypeCode("OMS_EVALUATION_OBJECT_TARGET_CYCLE");//sourceId:445050_1
//todo dong 未找到匹配生成策略,请检查生成策略implementDataSetMergebizAppChangeColComReqDto.setEvaObjTargetCycleList(queryNextLevelTargetObjListRespDto.getNextLevelTargetObjList()),数据源项; to( ==>tableName:undefined, fieldEnname:evaObjTargetCycleList ,uniqueId: 445051_1 uniqueSourceId:194200_1) from (varName:undefined fieldqueryNextLevelTargetObjListRespDto.getNextLevelTargetObjList())
if(queryNextLevelTargetObjListRespDto!= null&&  queryNextLevelTargetObjListRespDto.getNextLevelTargetObjList() !=null&& !CollectionUtil.isEmpty(queryNextLevelTargetObjListRespDto.getNextLevelTargetObjList())){
      implementDataSetMergebizAppChangeColComReqDto.setBizAppChangeColList(queryNextLevelTargetObjListRespDto.getNextLevelTargetObjList().stream().map(item->item.getEvaObjTargetCycleId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:445049_1
    }
  
    /*D3执行数据集合并业务应用变更字段(公共)[5212]   */
    Assert.isNull(implementDataSetMergebizAppChangeColComReqDto.getTableTypeCode(),"B3-3查询下一级指标列表(管理)-D3执行数据集合并业务应用变更字段(公共)-内容表类型编码不能为空",false);
      implementDataSetMergebizAppChangeColComRespDto = fwAppChangeColumnClient.implementDataSetMergebizAppChangeColCom(implementDataSetMergebizAppChangeColComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      implementDataSetMergebizAppChangeColComRespDto_1 = implementDataSetMergebizAppChangeColComRespDto;
           }
    
BffQueryNextLevelTargetObjListRespDto retData = new BffQueryNextLevelTargetObjListRespDto();
  //数据集融合  MoreListToOneSource
        if(queryNextLevelTargetObjListRespDto_1!= null && !CollectionUtil.isEmpty(queryNextLevelTargetObjListRespDto_1.getNextLevelTargetObjList()) ){
          for (NextLevelTargetObjDto nextLevelTargetObjDto : queryNextLevelTargetObjListRespDto_1.getNextLevelTargetObjList()) {
              BffNextLevelTargetObjDto retElm = new BffNextLevelTargetObjDto();
             if(queryNextLevelTargetObjListRespDto_1!=null){
      retElm.setObjectiveId(nextLevelTargetObjDto.getObjectiveId());//SimpleFieldAssign//sourceId:78308_2
retElm.setObjectiveCode(nextLevelTargetObjDto.getObjectiveCode());//SimpleFieldAssign//sourceId:78309_2
retElm.setParentObjectiveId(nextLevelTargetObjDto.getParentObjectiveId());//SimpleFieldAssign//sourceId:78310_2
retElm.setIsLastObjective(nextLevelTargetObjDto.getIsLastObjective());//SimpleFieldAssign//sourceId:78311_2
retElm.setCorrelationLastTargetCatId(nextLevelTargetObjDto.getCorrelationLastTargetCatId());//SimpleFieldAssign//sourceId:78312_2
retElm.setObjectiveTemplateId(nextLevelTargetObjDto.getObjectiveTemplateId());//SimpleFieldAssign//sourceId:78313_2
retElm.setTargetValueType(nextLevelTargetObjDto.getTargetValueType());//SimpleFieldAssign//sourceId:78314_2
retElm.setObjectiveTemplateName(nextLevelTargetObjDto.getObjectiveTemplateName());//SimpleFieldAssign//sourceId:82607_2
retElm.setObjectiveNumber(nextLevelTargetObjDto.getObjectiveNumber());//SimpleFieldAssign//sourceId:363875_2
retElm.setObjectiveName(nextLevelTargetObjDto.getObjectiveName());//SimpleFieldAssign//sourceId:78315_2
retElm.setObjectiveShortName(nextLevelTargetObjDto.getObjectiveShortName());//SimpleFieldAssign//sourceId:115329_2
retElm.setLevelNumber(nextLevelTargetObjDto.getLevelNumber());//SimpleFieldAssign//sourceId:78319_2
retElm.setUnit(nextLevelTargetObjDto.getUnit());//SimpleFieldAssign//sourceId:115330_2
retElm.setDigitalUnit(nextLevelTargetObjDto.getDigitalUnit());//SimpleFieldAssign//sourceId:115331_2
retElm.setIsUseBudget(nextLevelTargetObjDto.getIsUseBudget());//SimpleFieldAssign//sourceId:255496_2
retElm.setOrderNumber(nextLevelTargetObjDto.getOrderNumber());//SimpleFieldAssign//sourceId:78320_2
retElm.setSubjectLifeCycle(nextLevelTargetObjDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:105682_2
retElm.setIsComplete(nextLevelTargetObjDto.getIsComplete());//SimpleFieldAssign//sourceId:105683_2
retElm.setCreateLowerIndicator(nextLevelTargetObjDto.getCreateLowerIndicator());//SimpleFieldAssign//sourceId:98782_2
retElm.setRespBodyType(nextLevelTargetObjDto.getRespBodyType());//SimpleFieldAssign//sourceId:103786_2
retElm.setIsOpenCustomReport(nextLevelTargetObjDto.getIsOpenCustomReport());//SimpleFieldAssign//sourceId:220431_2
retElm.setPeriodicModeTypeCode(nextLevelTargetObjDto.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:81563_2
retElm.setEvaObjTargetCycleId(nextLevelTargetObjDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:82451_2
retElm.setDeptId(nextLevelTargetObjDto.getDeptId());//SimpleFieldAssign//sourceId:81564_2
retElm.setVirtualOrgDeptStatus(nextLevelTargetObjDto.getVirtualOrgDeptStatus());//SimpleFieldAssign//sourceId:81565_2
retElm.setPrincipalVirtualOrgMemberId(nextLevelTargetObjDto.getDutyVirtualOrgMemberId());//SimpleFieldAssign//sourceId:104301_2
retElm.setPrincipalInaugurationId(nextLevelTargetObjDto.getDutyInaugurationId());//SimpleFieldAssign//sourceId:84660_2
retElm.setPrincipalVirtualOrganizationPosition(nextLevelTargetObjDto.getDutyPostName());//SimpleFieldAssign//sourceId:84661_2
retElm.setDirectorVirtualOrgMemberId(nextLevelTargetObjDto.getDirectorVirtualOrgMemberId());//SimpleFieldAssign//sourceId:104302_2
retElm.setDirectorInaugurationId(nextLevelTargetObjDto.getDirectorInaugurationId());//SimpleFieldAssign//sourceId:84662_2
retElm.setDirectorVirtualOrganizationPosition(nextLevelTargetObjDto.getDirectorPostName());//SimpleFieldAssign//sourceId:84663_2
    }
              retData.getNextLevelTargetObjList().add(retElm);
               if(implementDataSetMergebizAppChangeColComRespDto_1!= null){
          for (EvaObjTargetCycleDto evaObjTargetCycleDto : implementDataSetMergebizAppChangeColComRespDto_1.getEvaObjTargetCycleList()) {
              // TODO: 2022/11/25 手动代码
              if (evaObjTargetCycleDto.getEvaObjTargetCycleId()!=null && evaObjTargetCycleDto.getEvaObjTargetCycleId().equals(nextLevelTargetObjDto.getEvaObjTargetCycleId())) {
                 if(evaObjTargetCycleDto.getEvaObjTargetCycleId()!=null && implementDataSetMergebizAppChangeColComRespDto_1!=null){
      retElm.setCyclelAlias(evaObjTargetCycleDto.getCyclelAlias());//SimpleFieldAssign//sourceId:120268_2
    }
                }
            }
          }
        
 if(batchQueryDeptComBorderRespDto_1!= null){
          for (DeptDto deptDto : batchQueryDeptComBorderRespDto_1.getDeptList()) {
                if (deptDto.getDeptId().equals(nextLevelTargetObjDto.getDeptId())) {
                 if(batchQueryDeptComBorderRespDto_1!=null){
      retElm.setDeptShortName(deptDto.getDeptShortName());//SimpleFieldAssign//sourceId:82454_2
    }
                }
            }
          }
        
 if(batchQueryInductionRecordListComRespDto_1!= null){
          for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                if (perOrgInductionRecordDto.getInductionRecordId().equals(nextLevelTargetObjDto.getDutyInaugurationId())) {
                 if(batchQueryInductionRecordListComRespDto_1!=null){
      retElm.setPrincipalUserFace(perOrgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:121139_2
retElm.setPrincipalIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:82455_2
retElm.setPrincipalNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:82456_2
    }
                }
            }
          }
        
 if(batchQueryInductionRecordListComRespDto_3!= null){
          for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_3.getPerOrgInductionRecordList()) {
                if (perOrgInductionRecordDto.getInductionRecordId().equals(nextLevelTargetObjDto.getDirectorInaugurationId())) {
                 if(batchQueryInductionRecordListComRespDto_3!=null){
      retElm.setDirectorIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:84664_2
retElm.setDirectorNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:84665_2
    }
                }
            }
          }
        
          }
        }//sourceId:194203_1
  

  
  
return retData;
  }
/**
   * B3-3查询分工汇报范围(管理)[4045]
   * gen by moon at 10/19/2022, 6:44:42 AM
   */
    @Trace(operationName = "B3-3查询分工汇报范围(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryDivReportScopeListRespDto queryDivReportScopeList(BffQueryDivReportScopeListReqDto reqDto){
      
       
       QueryDivReportScopeListRespDto queryDivReportScopeListRespDto_1 =null;
//步骤0: D3-3查询分工汇报范围 - queryDivReportScopeList
     QueryDivReportScopeListRespDto queryDivReportScopeListRespDto = null;
    QueryDivReportScopeListReqDto queryDivReportScopeListReqDto=new QueryDivReportScopeListReqDto();
  if(reqDto!=null){
      queryDivReportScopeListReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:219540_1
queryDivReportScopeListReqDto.setCreateLowerIndicator(reqDto.getCreateLowerIndicator());//SimpleFieldAssign//sourceId:222470_1
queryDivReportScopeListReqDto.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:341479_1
    }
  
    /*D3-3查询分工汇报范围[4046]   */
    Assert.isNull(queryDivReportScopeListReqDto.getCreateLowerIndicator(),"B3-3查询分工汇报范围(管理)-D3-3查询分工汇报范围-本级是否向下分工不能为空",false);
Assert.isNull(queryDivReportScopeListReqDto.getResultAspObjId(),"B3-3查询分工汇报范围(管理)-D3-3查询分工汇报范围-评价模板ID不能为空",false);
      queryDivReportScopeListRespDto = fwAppIndexSystemClient.queryDivReportScopeList(queryDivReportScopeListReqDto).getData();
      
      
      queryDivReportScopeListRespDto_1 = queryDivReportScopeListRespDto;
    
BffQueryDivReportScopeListRespDto retData = new BffQueryDivReportScopeListRespDto();
  if(queryDivReportScopeListRespDto_1!=null){
      retData.setDivReportScopeList(queryDivReportScopeListRespDto_1.getDivReportScopeList().stream().map(item -> BeanUtil.toBean(item, BffDivReportScopeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:222472_1
    }
  

  
  
return retData;
  }
/**
   * B3-3查询分工层级编码列表(管理)[4050]
   * gen by moon at 1/26/2023, 3:28:20 PM
   */
    @Trace(operationName = "B3-3查询分工层级编码列表(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryDivHierarchyCodeListRespDto queryDivHierarchyCodeList(BffQueryDivHierarchyCodeListReqDto reqDto){
      
       
       QueryDivHierarchyCodeListRespDto queryDivHierarchyCodeListRespDto_1 =null;
//步骤0: D3-3查询分工层级编码列表 - queryDivHierarchyCodeList
     QueryDivHierarchyCodeListRespDto queryDivHierarchyCodeListRespDto = null;
    QueryDivHierarchyCodeListReqDto queryDivHierarchyCodeListReqDto=new QueryDivHierarchyCodeListReqDto();
  if(reqDto!=null){
      queryDivHierarchyCodeListReqDto.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:341589_1
queryDivHierarchyCodeListReqDto.setCreateLowerIndicator(reqDto.getCreateLowerIndicator());//SimpleFieldAssign//sourceId:222876_1
queryDivHierarchyCodeListReqDto.setTargetDivisionSame(reqDto.getTargetDivisionSame());//SimpleFieldAssign//sourceId:222879_1
queryDivHierarchyCodeListReqDto.setDivisionContName(reqDto.getDivisionContName());//SimpleFieldAssign//sourceId:222878_1
queryDivHierarchyCodeListReqDto.setDivisionContId(reqDto.getDivisionContId());//SimpleFieldAssign//sourceId:379330_1
queryDivHierarchyCodeListReqDto.setDivisionContType(reqDto.getDivisionContType());//SimpleFieldAssign//sourceId:341645_1
queryDivHierarchyCodeListReqDto.setTargetValueType(reqDto.getTargetValueType());//SimpleFieldAssign//sourceId:636088_1
    }
  
    /*D3-3查询分工层级编码列表[4051]   */
    Assert.isNull(queryDivHierarchyCodeListReqDto.getResultAspObjId(),"B3-3查询分工层级编码列表(管理)-D3-3查询分工层级编码列表-评价模板ID不能为空",false);
Assert.isNull(queryDivHierarchyCodeListReqDto.getCreateLowerIndicator(),"B3-3查询分工层级编码列表(管理)-D3-3查询分工层级编码列表-本级是否向下分工不能为空",false);
Assert.isNull(queryDivHierarchyCodeListReqDto.getTargetDivisionSame(),"B3-3查询分工层级编码列表(管理)-D3-3查询分工层级编码列表-目标是否向下分工相同不能为空",false);
Assert.isNull(queryDivHierarchyCodeListReqDto.getDivisionContName(),"B3-3查询分工层级编码列表(管理)-D3-3查询分工层级编码列表-分工内容名称不能为空",false);
Assert.isNull(queryDivHierarchyCodeListReqDto.getDivisionContId(),"B3-3查询分工层级编码列表(管理)-D3-3查询分工层级编码列表-分工内容ID不能为空",false);
Assert.isNull(queryDivHierarchyCodeListReqDto.getDivisionContType(),"B3-3查询分工层级编码列表(管理)-D3-3查询分工层级编码列表-分工内容类型编码不能为空",false);
Assert.isNull(queryDivHierarchyCodeListReqDto.getTargetValueType(),"B3-3查询分工层级编码列表(管理)-D3-3查询分工层级编码列表-冗余指标业务类型不能为空",false);
      queryDivHierarchyCodeListRespDto = fwAppIndexSystemClient.queryDivHierarchyCodeList(queryDivHierarchyCodeListReqDto).getData();
      
      
      queryDivHierarchyCodeListRespDto_1 = queryDivHierarchyCodeListRespDto;
    
BffQueryDivHierarchyCodeListRespDto retData = new BffQueryDivHierarchyCodeListRespDto();
  if(queryDivHierarchyCodeListRespDto_1!=null){
      retData.setDivHierarchyCodeList(queryDivHierarchyCodeListRespDto_1.getDivHierarchyCodeList().stream().map(item -> BeanUtil.toBean(item, BffDivHierarchyCodeDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:222912_1
    }
  

  
  
return retData;
  }
/**
   * B3-3查询中基层向下分工菜单(管理)[4063]
   * gen by moon at 10/15/2022, 5:53:34 PM
   */
    @Trace(operationName = "B3-3查询中基层向下分工菜单(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryDivDutyBodyNavsListRespDto queryDivDutyBodyNavsList(BffQueryDivDutyBodyNavsListReqDto reqDto){
      
       
       QueryDivDutyBodyNavsListRespDto queryDivDutyBodyNavsListRespDto_1 =null;
//步骤0: D3-3查询分工责任主体导航列表(管理) - queryDivDutyBodyNavsList
     QueryDivDutyBodyNavsListRespDto queryDivDutyBodyNavsListRespDto = null;
    QueryDivDutyBodyNavsListReqDto queryDivDutyBodyNavsListReqDto=new QueryDivDutyBodyNavsListReqDto();
  if(reqDto!=null){
      queryDivDutyBodyNavsListReqDto.setDivisionContId(reqDto.getDivisionContId());//SimpleFieldAssign//sourceId:223900_1
queryDivDutyBodyNavsListReqDto.setDivisionContType(reqDto.getDivisionContType());//SimpleFieldAssign//sourceId:223901_1
    }
  
    /*D3-3查询分工责任主体导航列表(管理)[4072]   */
    Assert.isNull(queryDivDutyBodyNavsListReqDto.getDivisionContType(),"B3-3查询中基层向下分工菜单(管理)-D3-3查询分工责任主体导航列表(管理)-分工内容类型编码不能为空",false);
      queryDivDutyBodyNavsListRespDto = fwAppIndexSystemClient.queryDivDutyBodyNavsList(queryDivDutyBodyNavsListReqDto).getData();
      
      
      queryDivDutyBodyNavsListRespDto_1 = queryDivDutyBodyNavsListRespDto;
    
BffQueryDivDutyBodyNavsListRespDto retData = new BffQueryDivDutyBodyNavsListRespDto();
  if(queryDivDutyBodyNavsListRespDto_1!=null){
      retData.setDivDutyBodyNavsList(queryDivDutyBodyNavsListRespDto_1.getDivDutyBodyNavsList().stream().map(item -> BeanUtil.toBean(item, BffDivDutyBodyNavsDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:223902_1
    }
  

  
  
return retData;
  }
/**
   * B3-3查询购物车责任主体指标列表(管理)[4064]
   * gen by moon at 5/2/2023, 2:45:17 PM
   */
    @Trace(operationName = "B3-3查询购物车责任主体指标列表(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryTargetObjDutyBodyListRespDto queryTargetObjDutyBodyList(BffQueryTargetObjDutyBodyListReqDto reqDto){
      
       
       QueryTargetObjDutyBodyListRespDto queryTargetObjDutyBodyListRespDto_1 =null;
BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 =null;
BatchQueryDutyBodyDeptRespDto batchQueryDutyBodyDeptRespDto_1 =null;
//步骤0: D3-3查询指标责任主体列表 - queryTargetObjDutyBodyList
     QueryTargetObjDutyBodyListRespDto queryTargetObjDutyBodyListRespDto = null;
    QueryTargetObjDutyBodyListReqDto queryTargetObjDutyBodyListReqDto=new QueryTargetObjDutyBodyListReqDto();
  if(reqDto!=null){
      queryTargetObjDutyBodyListReqDto.setParentObjectiveId(reqDto.getParentObjectiveId());//SimpleFieldAssign//sourceId:229731_1
queryTargetObjDutyBodyListReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:229732_1
queryTargetObjDutyBodyListReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:229733_1
    }
  
    /*D3-3查询指标责任主体列表[4068]   */
    Assert.isNull(queryTargetObjDutyBodyListReqDto.getParentObjectiveId(),"B3-3查询购物车责任主体指标列表(管理)-D3-3查询指标责任主体列表-归属父级指标ID不能为空",false);
Assert.isNull(queryTargetObjDutyBodyListReqDto.getTargetId(),"B3-3查询购物车责任主体指标列表(管理)-D3-3查询指标责任主体列表-冗余目标ID不能为空",false);
Assert.isNull(queryTargetObjDutyBodyListReqDto.getEvaluationTemplateId(),"B3-3查询购物车责任主体指标列表(管理)-D3-3查询指标责任主体列表-冗余评价模板ID不能为空",false);
      queryTargetObjDutyBodyListRespDto = fwAppIndexSystemClient.queryTargetObjDutyBodyList(queryTargetObjDutyBodyListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryTargetObjDutyBodyListRespDto_1 = queryTargetObjDutyBodyListRespDto;
    
//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
     BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
    if(queryTargetObjDutyBodyListRespDto !=null){
          BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto=new BatchQueryInductionRecordListComReqDto();
  batchQueryInductionRecordListComReqDto.setOrganizationId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecHighestOrgID());//CURRENT_HIGH_ORGID//sourceId:229936_1
if(queryTargetObjDutyBodyListRespDto!= null&&  queryTargetObjDutyBodyListRespDto.getTargetObjDutyBodyList() !=null&& !CollectionUtil.isEmpty(queryTargetObjDutyBodyListRespDto.getTargetObjDutyBodyList())){
      batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryTargetObjDutyBodyListRespDto.getTargetObjDutyBodyList().stream().map(item->item.getVirtualOrgInductionRecordId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:229931_1
    }
  
    /*D1-3批量查询就职记录列表（公共）[602]   */
    Assert.isNull(batchQueryInductionRecordListComReqDto.getOrganizationId(),"B3-3查询购物车责任主体指标列表(管理)-D1-3批量查询就职记录列表（公共）-组织ID不能为空",false);
      batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
           }
    
//步骤2: D1-3批量查询责任主体部门 - batchQueryDutyBodyDept
     BatchQueryDutyBodyDeptRespDto batchQueryDutyBodyDeptRespDto = null;
    if(queryTargetObjDutyBodyListRespDto !=null){
          BatchQueryDutyBodyDeptReqDto batchQueryDutyBodyDeptReqDto=new BatchQueryDutyBodyDeptReqDto();
  batchQueryDutyBodyDeptReqDto.setOrganizationId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecHighestOrgID());//CURRENT_HIGH_ORGID//sourceId:229870_1
if(queryTargetObjDutyBodyListRespDto!= null&&  queryTargetObjDutyBodyListRespDto.getTargetObjDutyBodyList() !=null&& !CollectionUtil.isEmpty(queryTargetObjDutyBodyListRespDto.getTargetObjDutyBodyList())){
      batchQueryDutyBodyDeptReqDto.setDeptList(queryTargetObjDutyBodyListRespDto.getTargetObjDutyBodyList().stream().map(item->item.getDeptId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:229871_1
    }
  
    /*D1-3批量查询责任主体部门[4102]   */
    Assert.isNull(batchQueryDutyBodyDeptReqDto.getOrganizationId(),"B3-3查询购物车责任主体指标列表(管理)-D1-3批量查询责任主体部门-组织ID不能为空",false);
      batchQueryDutyBodyDeptRespDto = fwBaseOrgClient.batchQueryDutyBodyDept(batchQueryDutyBodyDeptReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      batchQueryDutyBodyDeptRespDto_1 = batchQueryDutyBodyDeptRespDto;
           }
    
BffQueryTargetObjDutyBodyListRespDto retData = new BffQueryTargetObjDutyBodyListRespDto();
  //数据集融合  MoreListToOneSource
        if(queryTargetObjDutyBodyListRespDto_1!= null && !CollectionUtil.isEmpty(queryTargetObjDutyBodyListRespDto_1.getTargetObjDutyBodyList()) ){
          for (TargetObjDutyBodyDto targetObjDutyBodyDto : queryTargetObjDutyBodyListRespDto_1.getTargetObjDutyBodyList()) {
              BffTargetObjDutyBodyDto retElm = new BffTargetObjDutyBodyDto();
             if(queryTargetObjDutyBodyListRespDto_1!=null){
      retElm.setObjectiveId(targetObjDutyBodyDto.getObjectiveId());//SimpleFieldAssign//sourceId:84027_2
retElm.setObjectiveCode(targetObjDutyBodyDto.getObjectiveCode());//SimpleFieldAssign//sourceId:115801_2
retElm.setObjectiveShortName(targetObjDutyBodyDto.getObjectiveShortName());//SimpleFieldAssign//sourceId:84029_2
retElm.setObjectivePlanningExtendId(targetObjDutyBodyDto.getObjectivePlanningExtendId());//SimpleFieldAssign//sourceId:115837_2
retElm.setRespBodyType(targetObjDutyBodyDto.getRespBodyType());//SimpleFieldAssign//sourceId:115838_2
retElm.setDeptId(targetObjDutyBodyDto.getDeptId());//SimpleFieldAssign//sourceId:84032_2
retElm.setVirtualOrgInductionRecordId(targetObjDutyBodyDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:84033_2
retElm.setOrderNumber(targetObjDutyBodyDto.getOrderNumber());//SimpleFieldAssign//sourceId:115802_2
retElm.setUpdateStatus(targetObjDutyBodyDto.getUpdateStatus());//SimpleFieldAssign//sourceId:108091_2
retElm.setSubjectLifeCycle(targetObjDutyBodyDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:108092_2
retElm.setArchivngType(targetObjDutyBodyDto.getArchivngType());//SimpleFieldAssign//sourceId:108093_2
    }
              retData.getTargetObjDutyBodyList().add(retElm);
               if(batchQueryDutyBodyDeptRespDto_1!= null){
          for (DeptDto deptDto : batchQueryDutyBodyDeptRespDto_1.getDeptList()) {
                if (deptDto.getDeptId().equals(targetObjDutyBodyDto.getDeptId())) {
                 if(batchQueryDutyBodyDeptRespDto_1!=null){
      retElm.setDeptShortName(deptDto.getDeptShortName());//SimpleFieldAssign//sourceId:84034_2
    }
                }
            }
          }
        
 if(batchQueryInductionRecordListComRespDto_1!= null){
          for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                if (perOrgInductionRecordDto.getInductionRecordId().equals(targetObjDutyBodyDto.getVirtualOrgInductionRecordId())) {
                 if(batchQueryInductionRecordListComRespDto_1!=null){
      retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:84035_2
retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:84036_2
retElm.setNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:84037_2
    }
                }
            }
          }
        
          }
        }//sourceId:229937_1
if(batchQueryDutyBodyDeptRespDto_1!=null){
      retData.setSubordinateDivType(batchQueryDutyBodyDeptRespDto_1.getSubordinateDivType());//SimpleFieldAssign//sourceId:874813_1
    }
  

  
  
return retData;
  }
/**
   * B3-3查询中基层指标分工策略元素判断(管理)[4066]
   * gen by moon at 10/19/2022, 10:10:24 PM
   */
    @Trace(operationName = "B3-3查询中基层指标分工策略元素判断(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryMidTargetObjDivMgtSituationDetailRespDto queryMidTargetObjDivMgtSituationDetail(BffQueryMidTargetObjDivMgtSituationDetailReqDto reqDto){
      
       
       QueryMidTargetObjDivMgtSituationDetailRespDto queryMidTargetObjDivMgtSituationDetailRespDto_1 =null;
QueryEvaObjTargetCycleDetailRespDto queryEvaObjTargetCycleDetailRespDto_1 =null;
//步骤0: D3-3查询中层指标分工管理判断 - queryMidTargetObjDivMgtSituationDetail
     QueryMidTargetObjDivMgtSituationDetailRespDto queryMidTargetObjDivMgtSituationDetailRespDto = null;
    QueryMidTargetObjDivMgtSituationDetailReqDto queryMidTargetObjDivMgtSituationDetailReqDto=new QueryMidTargetObjDivMgtSituationDetailReqDto();
  if(reqDto!=null){
      queryMidTargetObjDivMgtSituationDetailReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:230243_1
queryMidTargetObjDivMgtSituationDetailReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:230244_1
queryMidTargetObjDivMgtSituationDetailReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:343055_1
    }
  
    /*D3-3查询中层指标分工管理判断[4078]   */
    Assert.isNull(queryMidTargetObjDivMgtSituationDetailReqDto.getObjectiveId(),"B3-3查询中基层指标分工策略元素判断(管理)-D3-3查询中层指标分工管理判断-指标ID不能为空",false);
Assert.isNull(queryMidTargetObjDivMgtSituationDetailReqDto.getTargetId(),"B3-3查询中基层指标分工策略元素判断(管理)-D3-3查询中层指标分工管理判断-冗余目标ID不能为空",false);
Assert.isNull(queryMidTargetObjDivMgtSituationDetailReqDto.getDeptId(),"B3-3查询中基层指标分工策略元素判断(管理)-D3-3查询中层指标分工管理判断-部门ID不能为空",false);
      queryMidTargetObjDivMgtSituationDetailRespDto = fwAppIndexSystemClient.queryMidTargetObjDivMgtSituationDetail(queryMidTargetObjDivMgtSituationDetailReqDto).getData();
      
      
      queryMidTargetObjDivMgtSituationDetailRespDto_1 = queryMidTargetObjDivMgtSituationDetailRespDto;
    
//步骤1: D3-3查被评对象目标周期详情 - queryEvaObjTargetCycleDetail
     QueryEvaObjTargetCycleDetailRespDto queryEvaObjTargetCycleDetailRespDto = null;
    if(queryMidTargetObjDivMgtSituationDetailRespDto !=null){
          QueryEvaObjTargetCycleDetailReqDto queryEvaObjTargetCycleDetailReqDto=new QueryEvaObjTargetCycleDetailReqDto();
  queryEvaObjTargetCycleDetailReqDto.setEvaObjEntityId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:233330_1
queryEvaObjTargetCycleDetailReqDto.setEvaObjTableTypeCode("OMS_FRAMEWORK_SPACE");//sourceId:233331_1
queryEvaObjTargetCycleDetailReqDto.setEvaObjTypeCode("EVA_OBJECT");//sourceId:233334_1
queryEvaObjTargetCycleDetailReqDto.setTreeTypeCode("PLAN_TREE");//sourceId:233335_1
queryEvaObjTargetCycleDetailReqDto.setTargetCycleContentTypeCode("OBJECTIVE");//sourceId:233336_1
queryEvaObjTargetCycleDetailReqDto.setIsParentCycle("TRUE");//sourceId:233332_1
if(queryMidTargetObjDivMgtSituationDetailRespDto!=null){
      queryEvaObjTargetCycleDetailReqDto.setPeriodicModeTypeCode(queryMidTargetObjDivMgtSituationDetailRespDto.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:342774_1
    }
if(reqDto!=null){
      queryEvaObjTargetCycleDetailReqDto.setTargetCycleContentId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:233337_1
queryEvaObjTargetCycleDetailReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:233338_1
    }
  
    /*D3-3查被评对象目标周期详情[2682]   */
    Assert.isNull(queryEvaObjTargetCycleDetailReqDto.getPeriodicModeTypeCode(),"B3-3查询中基层指标分工策略元素判断(管理)-D3-3查被评对象目标周期详情-周期模式类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReqDto.getEvaObjEntityId(),"B3-3查询中基层指标分工策略元素判断(管理)-D3-3查被评对象目标周期详情-被评对象内容表主键ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReqDto.getEvaObjTableTypeCode(),"B3-3查询中基层指标分工策略元素判断(管理)-D3-3查被评对象目标周期详情-被评对象内容表类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReqDto.getEvaObjTypeCode(),"B3-3查询中基层指标分工策略元素判断(管理)-D3-3查被评对象目标周期详情-被评对象类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReqDto.getTreeTypeCode(),"B3-3查询中基层指标分工策略元素判断(管理)-D3-3查被评对象目标周期详情-树类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReqDto.getTargetCycleContentTypeCode(),"B3-3查询中基层指标分工策略元素判断(管理)-D3-3查被评对象目标周期详情-关联目标内容类型编码不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReqDto.getTargetCycleContentId(),"B3-3查询中基层指标分工策略元素判断(管理)-D3-3查被评对象目标周期详情-关联目标内容ID不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReqDto.getIsParentCycle(),"B3-3查询中基层指标分工策略元素判断(管理)-D3-3查被评对象目标周期详情-是否父周期不能为空",false);
Assert.isNull(queryEvaObjTargetCycleDetailReqDto.getTargetId(),"B3-3查询中基层指标分工策略元素判断(管理)-D3-3查被评对象目标周期详情-冗余目标ID不能为空",false);
      queryEvaObjTargetCycleDetailRespDto = fwAppTargetCycleClient.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReqDto).getData();
      
      
      queryEvaObjTargetCycleDetailRespDto_1 = queryEvaObjTargetCycleDetailRespDto;
           }
    
BffQueryMidTargetObjDivMgtSituationDetailRespDto retData = new BffQueryMidTargetObjDivMgtSituationDetailRespDto();
  if(queryMidTargetObjDivMgtSituationDetailRespDto_1!=null){
      retData.setObjectiveId(queryMidTargetObjDivMgtSituationDetailRespDto_1.getObjectiveId());//SimpleFieldAssign//sourceId:233083_1
retData.setDivisionContentId(queryMidTargetObjDivMgtSituationDetailRespDto_1.getDivisionContentId());//SimpleFieldAssign//sourceId:343184_1
retData.setDivisionContType(queryMidTargetObjDivMgtSituationDetailRespDto_1.getDivisionContType());//SimpleFieldAssign//sourceId:343185_1
retData.setDivisionOrgType(queryMidTargetObjDivMgtSituationDetailRespDto_1.getDivisionOrgType());//SimpleFieldAssign//sourceId:233089_1
retData.setPeriodicModeTypeCode(queryMidTargetObjDivMgtSituationDetailRespDto_1.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:233085_1
    }
if(queryEvaObjTargetCycleDetailRespDto_1!=null){
      retData.setEvaObjTargetCycleId(queryEvaObjTargetCycleDetailRespDto_1.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:233391_1
    }
  

  
  
return retData;
  }
/**
   * B3-3查询安排的指标详情(管理)[3070]
   * gen by moon at 3/12/2023, 5:12:06 PM
   */
    @Trace(operationName = "B3-3查询安排的指标详情(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryArrangeTargetObjDetailRespDto queryArrangeTargetObjDetail(BffQueryArrangeTargetObjDetailReqDto reqDto){
      
       
       QueryArrangeTargetObjDetailRespDto queryArrangeTargetObjDetailRespDto_1 =null;
QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto_1 =null;
QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_1 =null;
//步骤0: D3-3查询安排指标详情 - queryArrangeTargetObjDetail
     QueryArrangeTargetObjDetailRespDto queryArrangeTargetObjDetailRespDto = null;
    QueryArrangeTargetObjDetailReqDto queryArrangeTargetObjDetailReqDto=new QueryArrangeTargetObjDetailReqDto();
  queryArrangeTargetObjDetailReqDto.setIsArchive("FALSE");//sourceId:103263_1
if(reqDto!=null){
      queryArrangeTargetObjDetailReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:103259_1
queryArrangeTargetObjDetailReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:103260_1
queryArrangeTargetObjDetailReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:103261_1
    }
  
    /*D3-3查询安排指标详情[3071]   */
    Assert.isNull(queryArrangeTargetObjDetailReqDto.getObjectiveId(),"B3-3查询安排的指标详情(管理)-D3-3查询安排指标详情-指标ID不能为空",false);
Assert.isNull(queryArrangeTargetObjDetailReqDto.getTargetId(),"B3-3查询安排的指标详情(管理)-D3-3查询安排指标详情-冗余目标ID不能为空",false);
Assert.isNull(queryArrangeTargetObjDetailReqDto.getEvaluationTemplateId(),"B3-3查询安排的指标详情(管理)-D3-3查询安排指标详情-冗余评价模板ID不能为空",false);
Assert.isNull(queryArrangeTargetObjDetailReqDto.getIsArchive(),"B3-3查询安排的指标详情(管理)-D3-3查询安排指标详情-是否存档不能为空",false);
      queryArrangeTargetObjDetailRespDto = fwAppIndexSystemClient.queryArrangeTargetObjDetail(queryArrangeTargetObjDetailReqDto).getData();
      
      
      queryArrangeTargetObjDetailRespDto_1 = queryArrangeTargetObjDetailRespDto;
    
//步骤1: D1-3查询部门详情(公共)(边界) - queryDeptDetailComBorder
     QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto = null;
    if(queryArrangeTargetObjDetailRespDto !=null&&queryArrangeTargetObjDetailRespDto!= null&&  queryArrangeTargetObjDetailRespDto.getDeptId() !=null){
          QueryDeptDetailComBorderReqDto queryDeptDetailComBorderReqDto=new QueryDeptDetailComBorderReqDto();
  if(queryArrangeTargetObjDetailRespDto!=null){
      queryDeptDetailComBorderReqDto.setDeptId(queryArrangeTargetObjDetailRespDto.getDeptId());//SimpleFieldAssign//sourceId:103284_1
    }
  
    /*D1-3查询部门详情(公共)(边界)[2691]   */
    
      queryDeptDetailComBorderRespDto = fwBaseOrgClient.queryDeptDetailComBorder(queryDeptDetailComBorderReqDto).getData();
      
      
      queryDeptDetailComBorderRespDto_1 = queryDeptDetailComBorderRespDto;
           }
    
//步骤2: D1-3查询个人就职记录信息详情（公共） - queryInductionRecordInfoDetailCom
     QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
    if(queryArrangeTargetObjDetailRespDto !=null&&queryArrangeTargetObjDetailRespDto!= null&&  queryArrangeTargetObjDetailRespDto.getVirtualOrgInductionRecordId() !=null){
          QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto=new QueryInductionRecordInfoDetailComReqDto();
  if(queryArrangeTargetObjDetailRespDto!=null){
      queryInductionRecordInfoDetailComReqDto.setInductionRecordId(queryArrangeTargetObjDetailRespDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:103307_1
    }
  
    /*D1-3查询个人就职记录信息详情（公共）[715]   */
    Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(),"B3-3查询安排的指标详情(管理)-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空",false);
      queryInductionRecordInfoDetailComRespDto = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData();
      
      
      queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto;
           }
    
BffQueryArrangeTargetObjDetailRespDto retData = new BffQueryArrangeTargetObjDetailRespDto();
  if(queryArrangeTargetObjDetailRespDto_1!=null){
      retData.setObjectiveId(queryArrangeTargetObjDetailRespDto_1.getObjectiveId());//SimpleFieldAssign//sourceId:103317_1
retData.setObjectiveCode(queryArrangeTargetObjDetailRespDto_1.getObjectiveCode());//SimpleFieldAssign//sourceId:103318_1
retData.setObjectiveShortName(queryArrangeTargetObjDetailRespDto_1.getObjectiveShortName());//SimpleFieldAssign//sourceId:103319_1
retData.setObjectiveName(queryArrangeTargetObjDetailRespDto_1.getObjectiveName());//SimpleFieldAssign//sourceId:741014_1
retData.setCorrelationLastTargetCatId(queryArrangeTargetObjDetailRespDto_1.getCorrelationLastTargetCatId());//SimpleFieldAssign//sourceId:103320_1
retData.setPeriodicModeTypeCode(queryArrangeTargetObjDetailRespDto_1.getPeriodicModeTypeCode());//SimpleFieldAssign//sourceId:377028_1
retData.setLevelNumber(queryArrangeTargetObjDetailRespDto_1.getLevelNumber());//SimpleFieldAssign//sourceId:585029_1
retData.setObjectiveTemplateId(queryArrangeTargetObjDetailRespDto_1.getObjectiveTemplateId());//SimpleFieldAssign//sourceId:585030_1
retData.setTargetCategoryName(queryArrangeTargetObjDetailRespDto_1.getTargetCategoryName());//SimpleFieldAssign//sourceId:103321_1
retData.setEvaObjTargetCycleId(queryArrangeTargetObjDetailRespDto_1.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:585065_1
retData.setCycleStandardName(queryArrangeTargetObjDetailRespDto_1.getCycleStandardName());//SimpleFieldAssign//sourceId:585066_1
retData.setDeptId(queryArrangeTargetObjDetailRespDto_1.getDeptId());//SimpleFieldAssign//sourceId:103329_1
retData.setVirtualOrgInductionRecordId(queryArrangeTargetObjDetailRespDto_1.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:103330_1
    }
if(queryDeptDetailComBorderRespDto_1!=null){
      retData.setDeptShortName(queryDeptDetailComBorderRespDto_1.getDeptShortName());//SimpleFieldAssign//sourceId:103337_1
    }
if(queryInductionRecordInfoDetailComRespDto_1!=null){
      retData.setUserFace(queryInductionRecordInfoDetailComRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:461792_1
retData.setIdCardName(queryInductionRecordInfoDetailComRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:103338_1
retData.setNickName(queryInductionRecordInfoDetailComRespDto_1.getNickName());//SimpleFieldAssign//sourceId:103339_1
    }
  

  
  
return retData;
  }
/**
   * B3-3查询分工策略描述(管理)[4694]
   * gen by moon at 10/19/2022, 6:44:47 AM
   */
    @Trace(operationName = "B3-3查询分工策略描述(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryDivisionStrategyDescDetailRespDto queryDivisionStrategyDescDetail(BffQueryDivisionStrategyDescDetailReqDto reqDto){
      
       
       QueryDivisionStrategyDescDetailRespDto queryDivisionStrategyDescDetailRespDto_1 =null;
//步骤0: D3-3查询分工策略描述 - queryDivisionStrategyDescDetail
     QueryDivisionStrategyDescDetailRespDto queryDivisionStrategyDescDetailRespDto = null;
    QueryDivisionStrategyDescDetailReqDto queryDivisionStrategyDescDetailReqDto=new QueryDivisionStrategyDescDetailReqDto();
  if(reqDto!=null){
      queryDivisionStrategyDescDetailReqDto.setDivisionContName(reqDto.getDivisionContName());//SimpleFieldAssign//sourceId:344366_1
queryDivisionStrategyDescDetailReqDto.setCodeName(reqDto.getCodeName());//SimpleFieldAssign//sourceId:344367_1
queryDivisionStrategyDescDetailReqDto.setCreateLowerIndicator(reqDto.getCreateLowerIndicator());//SimpleFieldAssign//sourceId:344368_1
    }
  
    /*D3-3查询分工策略描述[4695]   */
    Assert.isNull(queryDivisionStrategyDescDetailReqDto.getCreateLowerIndicator(),"B3-3查询分工策略描述(管理)-D3-3查询分工策略描述-本级是否向下分工不能为空",false);
      queryDivisionStrategyDescDetailRespDto = fwAppIndexSystemClient.queryDivisionStrategyDescDetail(queryDivisionStrategyDescDetailReqDto).getData();
      
      
      queryDivisionStrategyDescDetailRespDto_1 = queryDivisionStrategyDescDetailRespDto;
    
BffQueryDivisionStrategyDescDetailRespDto retData = new BffQueryDivisionStrategyDescDetailRespDto();
  if(queryDivisionStrategyDescDetailRespDto_1!=null){
      retData.setDivisionDesc(queryDivisionStrategyDescDetailRespDto_1.getDivisionDesc());//SimpleFieldAssign//sourceId:383851_1
    }
  

  
  
return retData;
  }
/**
   * B3-3设置指标简称(管理)[2790]
   * gen by moon at 5/17/2024, 2:40:21 AM
   */
    @Trace(operationName = "B3-3设置指标简称(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffSetTargetObjShortNameRespDto setTargetObjShortName(BffSetTargetObjShortNameReqDto reqDto){
      
       
       //步骤0: D3-3设置指标简称及名称 - setTargetObjShortName
     SetTargetObjShortNameRespDto setTargetObjShortNameRespDto = null;
    SetTargetObjShortNameReqDto setTargetObjShortNameReqDto=new SetTargetObjShortNameReqDto();
  if(reqDto!=null){
      setTargetObjShortNameReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:161463_1
setTargetObjShortNameReqDto.setObjectiveNumber(reqDto.getObjectiveNumber());//SimpleFieldAssign//sourceId:1801875_1
setTargetObjShortNameReqDto.setObjectiveShortName(reqDto.getObjectiveShortName());//SimpleFieldAssign//sourceId:161464_1
setTargetObjShortNameReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:438445_1
setTargetObjShortNameReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:422372_1
setTargetObjShortNameReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:737481_1
    }
  
    /*D3-3设置指标简称及名称[2791]   */
    Assert.isNull(setTargetObjShortNameReqDto.getObjectiveId(),"B3-3设置指标简称(管理)-D3-3设置指标简称及名称-指标ID不能为空",false);
Assert.isNull(setTargetObjShortNameReqDto.getObjectiveShortName(),"B3-3设置指标简称(管理)-D3-3设置指标简称及名称-指标简称不能为空",false);
Assert.isNull(setTargetObjShortNameReqDto.getEvaluationTemplateId(),"B3-3设置指标简称(管理)-D3-3设置指标简称及名称-冗余评价模板ID不能为空",false);
Assert.isNull(setTargetObjShortNameReqDto.getBatchCurrentStatus(),"B3-3设置指标简称(管理)-D3-3设置指标简称及名称-批次现状不能为空",false);
Assert.isNull(setTargetObjShortNameReqDto.getBatchCode(),"B3-3设置指标简称(管理)-D3-3设置指标简称及名称-批次标识不能为空",false);
      setTargetObjShortNameRespDto = fwAppIndexSystemClient.setTargetObjShortName(setTargetObjShortNameReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      




BffSetTargetObjShortNameRespDto retData = new BffSetTargetObjShortNameRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-13修订指标资料(管理)[4172]
   * gen by moon at 9/27/2022, 9:37:31 AM
   */
    @Trace(operationName = "B3-13修订指标资料(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffReviseTopTargetDataRespDto reviseTopTargetData(BffReviseTopTargetDataReqDto reqDto){
      
       
       //步骤0: D3-3查询指标详情(公共) - queryTargetObjDetailCom
     QueryTargetObjDetailComRespDto queryTargetObjDetailComRespDto = null;
    QueryTargetObjDetailComReqDto queryTargetObjDetailComReqDto=new QueryTargetObjDetailComReqDto();
  if(reqDto!=null){
      queryTargetObjDetailComReqDto.setObjectiveId(reqDto.getObjectiveId());//sourceId:317291_1
    }
  
    /*D3-3查询指标详情(公共)[2794]   */
    Assert.isNull(queryTargetObjDetailComReqDto.getObjectiveId(),"B3-13修订指标资料(管理)-D3-3查询指标详情(公共)-指标ID不能为空",false);
      queryTargetObjDetailComRespDto = fwAppIndexSystemClient.queryTargetObjDetailCom(queryTargetObjDetailComReqDto).getData();
      Assert.isTrue(queryTargetObjDetailComRespDto== null||  queryTargetObjDetailComRespDto.getObjectiveShortName() ==null,"返回值不能为空",false);
      
      
    
//步骤1: D3修订业务应用变更字段(公共) - reviseBizAppChangeColCom
     ReviseBizAppChangeColComRespDto reviseBizAppChangeColComRespDto = null;
    if(queryTargetObjDetailComRespDto !=null){
          ReviseBizAppChangeColComReqDto reviseBizAppChangeColComReqDto=new ReviseBizAppChangeColComReqDto();
  reviseBizAppChangeColComReqDto.setBatchEndtTime(CommonFunctionHelper.getFutureTime());//FUTURE_CURRENT_TIME//sourceId:317279_1
reviseBizAppChangeColComReqDto.setIsEditing("TRUE");//sourceId:317280_1
reviseBizAppChangeColComReqDto.setSubjectLifeCycle("EDITING");//sourceId:317281_1
reviseBizAppChangeColComReqDto.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:317282_1
reviseBizAppChangeColComReqDto.setSubjectChangeType("REVISE_VIEW_POINT");//CUSTOM_CONVENTION//sourceId:317283_1
reviseBizAppChangeColComReqDto.setTableTypeCode("OMS_TARGET_OBJECTIVE");//sourceId:317284_1
reviseBizAppChangeColComReqDto.setEntityName("objectiveId");//CUSTOM_CONVENTION//sourceId:317285_1
reviseBizAppChangeColComReqDto.setObjectTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:317287_1
if(reqDto!=null){
      reviseBizAppChangeColComReqDto.setBatchCode(reqDto.getBatchCode());//sourceId:317277_1
reviseBizAppChangeColComReqDto.setEntityId(reqDto.getObjectiveId());//sourceId:317286_1
reviseBizAppChangeColComReqDto.setObjectId(reqDto.getObjectId());//sourceId:317288_1
reviseBizAppChangeColComReqDto.setChangeColumnList(reqDto.getChangeColumnList().stream().map(item -> BeanUtil.toBean(item, ChangeColumnDto.class)).collect(Collectors.toList()));//sourceId:317290_1
    }
if(queryTargetObjDetailComRespDto!=null){
      reviseBizAppChangeColComReqDto.setReviseSubjectContent(queryTargetObjDetailComRespDto.getObjectiveShortName());//sourceId:317289_1
    }
  
    /*D3修订业务应用变更字段(公共)[3889]   */
    Assert.isNull(reviseBizAppChangeColComReqDto.getBatchCode(),"B3-13修订指标资料(管理)-D3修订业务应用变更字段(公共)-批次标识不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getBatchEndtTime(),"B3-13修订指标资料(管理)-D3修订业务应用变更字段(公共)-批次结束时间不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getIsEditing(),"B3-13修订指标资料(管理)-D3修订业务应用变更字段(公共)-是否未来不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getSubjectLifeCycle(),"B3-13修订指标资料(管理)-D3修订业务应用变更字段(公共)-主体生命周期不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getSubjectTypeCode(),"B3-13修订指标资料(管理)-D3修订业务应用变更字段(公共)-主体类型编码不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getSubjectChangeType(),"B3-13修订指标资料(管理)-D3修订业务应用变更字段(公共)-主体变更日志类型不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getTableTypeCode(),"B3-13修订指标资料(管理)-D3修订业务应用变更字段(公共)-内容表类型编码不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getEntityName(),"B3-13修订指标资料(管理)-D3修订业务应用变更字段(公共)-内容表主键行为日志英文名称不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getEntityId(),"B3-13修订指标资料(管理)-D3修订业务应用变更字段(公共)-内容表主键ID不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getObjectTypeCode(),"B3-13修订指标资料(管理)-D3修订业务应用变更字段(公共)-归属对象类型编码不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getObjectId(),"B3-13修订指标资料(管理)-D3修订业务应用变更字段(公共)-归属对象内容ID不能为空",false);
Assert.isNull(reviseBizAppChangeColComReqDto.getReviseSubjectContent(),"B3-13修订指标资料(管理)-D3修订业务应用变更字段(公共)-修订主体内容不能为空",false);
      reviseBizAppChangeColComRespDto = fwAppChangeColumnClient.reviseBizAppChangeColCom(reviseBizAppChangeColComReqDto).getData();
      
      
      
           }
    
BffReviseTopTargetDataRespDto retData = new BffReviseTopTargetDataRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-3新增一级指标(管理)[2582]
   * gen by moon at 11/3/2022, 12:39:33 PM
   */
    @Trace(operationName = "B3-3新增一级指标(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddFirstTargetObjRespDto addFirstTargetObj(BffAddFirstTargetObjReqDto reqDto){
      
       
       AddFirstTargetObjRespDto addFirstTargetObjRespDto_1 =null;
//步骤0: D3-3新增一级指标 - addFirstTargetObj
     AddFirstTargetObjRespDto addFirstTargetObjRespDto = null;
    AddFirstTargetObjReqDto addFirstTargetObjReqDto=new AddFirstTargetObjReqDto();
  addFirstTargetObjReqDto.setOrderNumber(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:358843_1
if(reqDto!=null){
      addFirstTargetObjReqDto.setObjectiveTemplateId(reqDto.getObjectiveTemplateId());//SimpleFieldAssign//sourceId:117679_1
addFirstTargetObjReqDto.setParentTargetCategoryId(reqDto.getParentTargetCategoryId());//SimpleFieldAssign//sourceId:110828_1
addFirstTargetObjReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:84295_1
addFirstTargetObjReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:117678_1
addFirstTargetObjReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:361880_1
addFirstTargetObjReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:117680_1
    }
  
    /*D3-3新增一级指标[2688]   */
    Assert.isNull(addFirstTargetObjReqDto.getObjectiveTemplateId(),"B3-3新增一级指标(管理)-D3-3新增一级指标-冗余指标模板ID不能为空",false);
Assert.isNull(addFirstTargetObjReqDto.getParentTargetCategoryId(),"B3-3新增一级指标(管理)-D3-3新增一级指标-归属父级目标分类ID不能为空",false);
Assert.isNull(addFirstTargetObjReqDto.getDeptId(),"B3-3新增一级指标(管理)-D3-3新增一级指标-虚拟组织下部门ID不能为空",false);
Assert.isNull(addFirstTargetObjReqDto.getTargetId(),"B3-3新增一级指标(管理)-D3-3新增一级指标-冗余目标ID不能为空",false);
Assert.isNull(addFirstTargetObjReqDto.getEvaluationTemplateId(),"B3-3新增一级指标(管理)-D3-3新增一级指标-归属评价模板ID不能为空",false);
Assert.isNull(addFirstTargetObjReqDto.getOrderNumber(),"B3-3新增一级指标(管理)-D3-3新增一级指标-排序不能为空",false);
Assert.isNull(addFirstTargetObjReqDto.getBatchCode(),"B3-3新增一级指标(管理)-D3-3新增一级指标-批次标识不能为空",false);
      addFirstTargetObjRespDto = fwAppIndexSystemClient.addFirstTargetObj(addFirstTargetObjReqDto).getData();
      
      
      addFirstTargetObjRespDto_1 = addFirstTargetObjRespDto;
    
BffAddFirstTargetObjRespDto retData = new BffAddFirstTargetObjRespDto();
  if(addFirstTargetObjRespDto_1!=null){
      retData.setObjectiveId(addFirstTargetObjRespDto_1.getObjectiveId());//SimpleFieldAssign//sourceId:84349_1
retData.setVirtualOrgMemberDeptId(addFirstTargetObjRespDto_1.getVirtualOrgMemberDeptId());//SimpleFieldAssign//sourceId:84350_1
    }
  

  
  
return retData;
  }
/**
   * B3-3批量增一级指标扩展设置(管理)[3785]
   * gen by moon at 10/2/2022, 11:28:05 PM
   */
    @Trace(operationName = "B3-3批量增一级指标扩展设置(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffBatchAddFirstTargetObjPlanExRespDto batchAddFirstTargetObjPlanEx(BffBatchAddFirstTargetObjPlanExReqDto reqDto){
      
       
       //步骤0: D3-3新增一级指标扩展设置(公共) - addFirstTargetObjPlanExCom
     AddFirstTargetObjPlanExComRespDto addFirstTargetObjPlanExComRespDto = null;
    AddFirstTargetObjPlanExComReqDto addFirstTargetObjPlanExComReqDto=new AddFirstTargetObjPlanExComReqDto();
  if(reqDto!=null){
      //list-field-assign
    //addFirstTargetObjPlanExComReqDto.setPrimaryTargetObjList(reqDto.getPrimaryTargetObjList());//sourceId:179974_1
//addFirstTargetObjPlanExComReqDto.setResultAspObjId(reqDto.getResultAspObjId());//SimpleFieldAssign//sourceId:179973_1
//addFirstTargetObjPlanExComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:179975_1
    }
  
    /*D3-3新增一级指标扩展设置(公共)[3575]   */
 //   Assert.isNull(addFirstTargetObjPlanExComReqDto.getResultAspObjId(),"B3-3批量增一级指标扩展设置(管理)-D3-3新增一级指标扩展设置(公共)-评价模板ID不能为空",false);
Assert.isNull(addFirstTargetObjPlanExComReqDto.getBatchCode(),"B3-3批量增一级指标扩展设置(管理)-D3-3新增一级指标扩展设置(公共)-批次标识不能为空",false);
      addFirstTargetObjPlanExComRespDto = fwAppIndexSystemClient.addFirstTargetObjPlanExCom(addFirstTargetObjPlanExComReqDto).getData();
      
      
      
    
BffBatchAddFirstTargetObjPlanExRespDto retData = new BffBatchAddFirstTargetObjPlanExRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-查询上级指标扩展规划设置详情(管理)[4748]
   * gen by moon at 10/8/2022, 3:11:18 AM
   */
    @Trace(operationName = "B3-查询上级指标扩展规划设置详情(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryPraTargetObjPlanExDetailRespDto queryPraTargetObjPlanExDetail(BffQueryPraTargetObjPlanExDetailReqDto reqDto){
      
       
       QueryTargetObjPlanExDetailComRespDto queryTargetObjPlanExDetailComRespDto_1 =null;
//步骤0: D3-3查询指标扩展规划设置详情(公共) - queryTargetObjPlanExDetailCom
     QueryTargetObjPlanExDetailComRespDto queryTargetObjPlanExDetailComRespDto = null;
    QueryTargetObjPlanExDetailComReqDto queryTargetObjPlanExDetailComReqDto=new QueryTargetObjPlanExDetailComReqDto();
  queryTargetObjPlanExDetailComReqDto.setIsArchive("FALSE");//sourceId:356749_1
if(reqDto!=null){
      queryTargetObjPlanExDetailComReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:356746_1
    }
  
    /*D3-3查询指标扩展规划设置详情(公共)[4747]   */
    Assert.isNull(queryTargetObjPlanExDetailComReqDto.getObjectiveId(),"B3-查询上级指标扩展规划设置详情(管理)-D3-3查询指标扩展规划设置详情(公共)-归属指标ID不能为空",false);
Assert.isNull(queryTargetObjPlanExDetailComReqDto.getIsArchive(),"B3-查询上级指标扩展规划设置详情(管理)-D3-3查询指标扩展规划设置详情(公共)-是否存档不能为空",false);
      queryTargetObjPlanExDetailComRespDto = fwAppIndexSystemClient.queryTargetObjPlanExDetailCom(queryTargetObjPlanExDetailComReqDto).getData();
      
      
      queryTargetObjPlanExDetailComRespDto_1 = queryTargetObjPlanExDetailComRespDto;
    
BffQueryPraTargetObjPlanExDetailRespDto retData = new BffQueryPraTargetObjPlanExDetailRespDto();
  if(queryTargetObjPlanExDetailComRespDto_1!=null){
      retData.setObjectivePlanningExtendId(queryTargetObjPlanExDetailComRespDto_1.getObjectivePlanningExtendId());//SimpleFieldAssign//sourceId:361790_1
retData.setObjectiveId(queryTargetObjPlanExDetailComRespDto_1.getObjectiveId());//SimpleFieldAssign//sourceId:356756_1
retData.setLowCreateLowerIndicator(queryTargetObjPlanExDetailComRespDto_1.getLowCreateLowerIndicator());//SimpleFieldAssign//sourceId:361538_1
retData.setLowSubordinateDivBodyType(queryTargetObjPlanExDetailComRespDto_1.getLowSubordinateDivBodyType());//SimpleFieldAssign//sourceId:361539_1
    }
  

  
  
return retData;
  }
/**
   * B3-3删除目标分类(管理)[2572]
   * gen by moon at 12/29/2022, 9:53:04 PM
   */
    @Trace(operationName = "B3-3删除目标分类(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffDeleteTargetCatRespDto deleteTargetCat(BffDeleteTargetCatReqDto reqDto){
      
       
       //步骤0: D3-3删除目标分类 - deleteTargetCat
     DeleteTargetCatRespDto deleteTargetCatRespDto = null;
    DeleteTargetCatReqDto deleteTargetCatReqDto=new DeleteTargetCatReqDto();
  if(reqDto!=null){
      deleteTargetCatReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:462106_1
deleteTargetCatReqDto.setTargetCategoryId(reqDto.getTargetCategoryId());//SimpleFieldAssign//sourceId:462091_1
deleteTargetCatReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:462092_1
    }
  
    /*D3-3删除目标分类[2614]   */
    Assert.isNull(deleteTargetCatReqDto.getTargetId(),"B3-3删除目标分类(管理)-D3-3删除目标分类-目标ID不能为空",false);
Assert.isNull(deleteTargetCatReqDto.getTargetCategoryId(),"B3-3删除目标分类(管理)-D3-3删除目标分类-目标分类ID不能为空",false);
Assert.isNull(deleteTargetCatReqDto.getEvaluationTemplateId(),"B3-3删除目标分类(管理)-D3-3删除目标分类-冗余评价模板ID不能为空",false);
      deleteTargetCatRespDto = fwAppIndexSystemClient.deleteTargetCat(deleteTargetCatReqDto).getData();
      
      
      
    
BffDeleteTargetCatRespDto retData = new BffDeleteTargetCatRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-3删除目标观测点(管理)[2584]
   * gen by moon at 2/24/2023, 4:58:32 AM
   */
    @Trace(operationName = "B3-3删除目标观测点(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffDeleteTargetObservationPointRespDto deleteTargetObservationPoint(BffDeleteTargetObservationPointReqDto reqDto){
      
       
       //步骤0: D3-3删除目标观测点(公共) - deleteTargetObservationPointCom
     DeleteTargetObservationPointComRespDto deleteTargetObservationPointComRespDto = null;
    DeleteTargetObservationPointComReqDto deleteTargetObservationPointComReqDto=new DeleteTargetObservationPointComReqDto();
  if(reqDto!=null){
      deleteTargetObservationPointComReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:373745_1
deleteTargetObservationPointComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:438444_1
deleteTargetObservationPointComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:435953_1
deleteTargetObservationPointComReqDto.setMgtType(reqDto.getMgtType());//SimpleFieldAssign//sourceId:652322_1
//deleteTargetObservationPointComReqDto.setIsSuperMgt(reqDto.getIsSuperMgt());//SimpleFieldAssign//sourceId:652323_1
    }
  
    /*D3-3删除目标观测点(公共)[3207]   */
    Assert.isNull(deleteTargetObservationPointComReqDto.getObjectiveId(),"B3-3删除目标观测点(管理)-D3-3删除目标观测点(公共)-指标ID不能为空",false);
Assert.isNull(deleteTargetObservationPointComReqDto.getTargetId(),"B3-3删除目标观测点(管理)-D3-3删除目标观测点(公共)-目标ID不能为空",false);
Assert.isNull(deleteTargetObservationPointComReqDto.getEvaluationTemplateId(),"B3-3删除目标观测点(管理)-D3-3删除目标观测点(公共)-冗余评价模板ID不能为空",false);
      deleteTargetObservationPointComRespDto = fwAppIndexSystemClient.deleteTargetObservationPointCom(deleteTargetObservationPointComReqDto).getData();
      
      
      
    
BffDeleteTargetObservationPointRespDto retData = new BffDeleteTargetObservationPointRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-3新增一级以下指标(管理)[2729]
   * gen by moon at 11/5/2022, 6:30:18 PM
   */
    @Trace(operationName = "B3-3新增一级以下指标(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddFirstUnderTargetObjRespDto addFirstUnderTargetObj(BffAddFirstUnderTargetObjReqDto reqDto){
      
       
       //步骤0: D3-3新增一级以下指标(公共) - addFirstUnderTargetObjCom
     AddFirstUnderTargetObjComRespDto addFirstUnderTargetObjComRespDto = null;
    AddFirstUnderTargetObjComReqDto addFirstUnderTargetObjComReqDto=new AddFirstUnderTargetObjComReqDto();
  if(reqDto!=null){
      addFirstUnderTargetObjComReqDto.setParentObjectiveId(reqDto.getParentObjectiveId());//SimpleFieldAssign//sourceId:168253_1
addFirstUnderTargetObjComReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:165920_1
addFirstUnderTargetObjComReqDto.setVirtualOrgInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:165921_1
addFirstUnderTargetObjComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:217474_1
addFirstUnderTargetObjComReqDto.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:165922_1
addFirstUnderTargetObjComReqDto.setFirstLetter(reqDto.getFirstLetter());//SimpleFieldAssign//sourceId:165923_1
addFirstUnderTargetObjComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:358030_1
addFirstUnderTargetObjComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:358031_1
addFirstUnderTargetObjComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:165916_1
    }
  
    /*D3-3新增一级以下指标(公共)[3327]   */
    Assert.isNull(addFirstUnderTargetObjComReqDto.getParentObjectiveId(),"B3-3新增一级以下指标(管理)-D3-3新增一级以下指标(公共)-归属父级指标ID不能为空",false);
Assert.isNull(addFirstUnderTargetObjComReqDto.getTargetId(),"B3-3新增一级以下指标(管理)-D3-3新增一级以下指标(公共)-冗余目标ID不能为空",false);
Assert.isNull(addFirstUnderTargetObjComReqDto.getEvaluationTemplateId(),"B3-3新增一级以下指标(管理)-D3-3新增一级以下指标(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(addFirstUnderTargetObjComReqDto.getBatchCode(),"B3-3新增一级以下指标(管理)-D3-3新增一级以下指标(公共)-批次标识不能为空",false);
      addFirstUnderTargetObjComRespDto = fwAppIndexSystemClient.addFirstUnderTargetObjCom(addFirstUnderTargetObjComReqDto).getData();
      
      
      
    
BffAddFirstUnderTargetObjRespDto retData = new BffAddFirstUnderTargetObjRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-3新增目标分类扩展设置(管理)[3693]
   * gen by moon at 10/2/2022, 11:28:03 PM
   */
    @Trace(operationName = "B3-3新增目标分类扩展设置(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffAddTargetCatExSetRespDto addTargetCatExSet(BffAddTargetCatExSetReqDto reqDto){
      
       
       //步骤0: D3-3新增目标分类扩展设置 - addTargetCatExSet
     AddTargetCatExSetRespDto addTargetCatExSetRespDto = null;
    AddTargetCatExSetReqDto addTargetCatExSetReqDto=new AddTargetCatExSetReqDto();
  if(reqDto!=null){
      addTargetCatExSetReqDto.setTargetCategoryId(reqDto.getTargetCategoryId());//SimpleFieldAssign//sourceId:167290_1
addTargetCatExSetReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:167291_1
addTargetCatExSetReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:167292_1
    }
  
    /*D3-3新增目标分类扩展设置[3687]   */
    Assert.isNull(addTargetCatExSetReqDto.getTargetCategoryId(),"B3-3新增目标分类扩展设置(管理)-D3-3新增目标分类扩展设置-归属目标分类ID不能为空",false);
Assert.isNull(addTargetCatExSetReqDto.getEvaluationTemplateId(),"B3-3新增目标分类扩展设置(管理)-D3-3新增目标分类扩展设置-冗余评价模板ID不能为空",false);
Assert.isNull(addTargetCatExSetReqDto.getBatchCode(),"B3-3新增目标分类扩展设置(管理)-D3-3新增目标分类扩展设置-批次标识不能为空",false);
      addTargetCatExSetRespDto = fwAppIndexSystemClient.addTargetCatExSet(addTargetCatExSetReqDto).getData();
      
      
      
    
BffAddTargetCatExSetRespDto retData = new BffAddTargetCatExSetRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-3修改目标分类(管理)[2571]
   * gen by moon at 5/17/2024, 2:40:19 AM
   */
    @Trace(operationName = "B3-3修改目标分类(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffUpdateTargetCatRespDto updateTargetCat(BffUpdateTargetCatReqDto reqDto){
      
       
       ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto_1 =null;
//virtualUsage D3执行进度运行判断(公共)  47587
      ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto = null;
    ImplementExecuteProgressOperationJudgeComReqDto implementExecuteProgressOperationJudgeComReqDto=new ImplementExecuteProgressOperationJudgeComReqDto();
  implementExecuteProgressOperationJudgeComReqDto.setUseTypeCode("USE_UPDATE_TARGET_CATEGORY");//CUSTOM_CONVENTION//sourceId:1086281_1_47587
if(reqDto!=null){
      implementExecuteProgressOperationJudgeComReqDto.setObjectId(reqDto.getTargetCategoryId());//SimpleFieldAssign//sourceId:1086280_1_47587
implementExecuteProgressOperationJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1086282_1_47587
    }

    /*D3执行进度运行判断(公共)[7243]   */
    Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getObjectId(),"B3-3修改目标分类(管理)-D3执行进度运行判断(公共)-归属对象内容ID不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getUseTypeCode(),"B3-3修改目标分类(管理)-D3执行进度运行判断(公共)-用途类型编码不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getThemeContentId(),"B3-3修改目标分类(管理)-D3执行进度运行判断(公共)-主题内容ID不能为空",false);
      implementExecuteProgressOperationJudgeComRespDto = fwAppExecuteProgressClient.implementExecuteProgressOperationJudgeCom(implementExecuteProgressOperationJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      implementExecuteProgressOperationJudgeComRespDto_1 = implementExecuteProgressOperationJudgeComRespDto;
if((implementExecuteProgressOperationJudgeComRespDto!= null&& implementExecuteProgressOperationJudgeComRespDto.getCustomField() == null )) {
        //if(D3执行进度运行判断(公共).操作过于频繁，请稍后再试文案故事 值等于空 )  47588

     UpdateTargetCatRespDto updateTargetCatRespDto = null;
    UpdateTargetCatReqDto updateTargetCatReqDto=new UpdateTargetCatReqDto();
  if(reqDto!=null){
      updateTargetCatReqDto.setTargetCategoryId(reqDto.getTargetCategoryId());//SimpleFieldAssign//sourceId:83345_1_47589
updateTargetCatReqDto.setTargetCategoryNumber(reqDto.getTargetCategoryNumber());//SimpleFieldAssign//sourceId:1801883_1_47589
updateTargetCatReqDto.setTargetCategoryName(reqDto.getTargetCategoryName());//SimpleFieldAssign//sourceId:83346_1_47589
updateTargetCatReqDto.setTargetCategoryDescribe(reqDto.getTargetCategoryDescribe());//SimpleFieldAssign//sourceId:83347_1_47589
updateTargetCatReqDto.setTargetCategoryRemarks(reqDto.getTargetCategoryRemarks());//SimpleFieldAssign//sourceId:83348_1_47589
updateTargetCatReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1037242_1_47589
updateTargetCatReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:737744_1_47589
updateTargetCatReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:737745_1_47589
    }
  
    /*D3-3修改目标分类[2684]   */
    Assert.isNull(updateTargetCatReqDto.getTargetCategoryId(),"B3-3修改目标分类(管理)-D3-3修改目标分类-目标分类ID不能为空",false);
Assert.isNull(updateTargetCatReqDto.getEvaluationTemplateId(),"B3-3修改目标分类(管理)-D3-3修改目标分类-冗余评价模板ID不能为空",false);
Assert.isNull(updateTargetCatReqDto.getBatchCode(),"B3-3修改目标分类(管理)-D3-3修改目标分类-批次标识不能为空",false);
Assert.isNull(updateTargetCatReqDto.getBatchCurrentStatus(),"B3-3修改目标分类(管理)-D3-3修改目标分类-批次现状不能为空",false);
      updateTargetCatRespDto = fwAppIndexSystemClient.updateTargetCat(updateTargetCatReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



      }
BffUpdateTargetCatRespDto retData = new BffUpdateTargetCatRespDto();
  if(implementExecuteProgressOperationJudgeComRespDto_1!=null){
      retData.setCustomField(implementExecuteProgressOperationJudgeComRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1086284_1
    }
  

  
  
return retData;
  }
/**
   * B3-3批量改中基层指标扩展设置(管理)[3854]
   * gen by moon at 4/25/2023, 3:40:42 AM
   */
    @Trace(operationName = "B3-3批量改中基层指标扩展设置(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffBatchUpdateMidTargetObjPlanExRespDto batchUpdateMidTargetObjPlanEx(BffBatchUpdateMidTargetObjPlanExReqDto reqDto){
      
       
       //步骤0: D3-3批量改购物车一级以下指标扩展设置(公共) - batchUpdateFristUnderTargetObjPlanExCom
     BatchUpdateFristUnderTargetObjPlanExComRespDto batchUpdateFristUnderTargetObjPlanExComRespDto = null;
    BatchUpdateFristUnderTargetObjPlanExComReqDto batchUpdateFristUnderTargetObjPlanExComReqDto=new BatchUpdateFristUnderTargetObjPlanExComReqDto();
  if(reqDto!= null&&  reqDto.getObjectivePlanningExtendList() !=null&& !CollectionUtil.isEmpty(reqDto.getObjectivePlanningExtendList())){
      batchUpdateFristUnderTargetObjPlanExComReqDto.setObjectivePlanningExtendList(reqDto.getObjectivePlanningExtendList().stream().map(item -> BeanUtil.toBean(item, ObjectivePlanningExtendDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:376342_1
    }
if(reqDto!=null){
      batchUpdateFristUnderTargetObjPlanExComReqDto.setObjectivePlanningExtendId(reqDto.getObjectivePlanningExtendId());//SimpleFieldAssign//sourceId:376337_1
batchUpdateFristUnderTargetObjPlanExComReqDto.setLowCreateLowerIndicator(reqDto.getLowCreateLowerIndicator());//SimpleFieldAssign//sourceId:376338_1
batchUpdateFristUnderTargetObjPlanExComReqDto.setLowSubordinateDivBodyType(reqDto.getLowSubordinateDivBodyType());//SimpleFieldAssign//sourceId:376339_1
batchUpdateFristUnderTargetObjPlanExComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:584961_1
batchUpdateFristUnderTargetObjPlanExComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:376341_1
batchUpdateFristUnderTargetObjPlanExComReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:376340_1
batchUpdateFristUnderTargetObjPlanExComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:853997_1
    }
  
    /*D3-3批量改购物车一级以下指标扩展设置(公共)[3705]   */
    Assert.isNull(batchUpdateFristUnderTargetObjPlanExComReqDto.getObjectivePlanningExtendId(),"B3-3批量改中基层指标扩展设置(管理)-D3-3批量改购物车一级以下指标扩展设置(公共)-上级指标扩展规划设置ID不能为空",false);
Assert.isNull(batchUpdateFristUnderTargetObjPlanExComReqDto.getLowCreateLowerIndicator(),"B3-3批量改中基层指标扩展设置(管理)-D3-3批量改购物车一级以下指标扩展设置(公共)-下级是否向下分工不能为空",false);
Assert.isNull(batchUpdateFristUnderTargetObjPlanExComReqDto.getTargetId(),"B3-3批量改中基层指标扩展设置(管理)-D3-3批量改购物车一级以下指标扩展设置(公共)-目标ID不能为空",false);
Assert.isNull(batchUpdateFristUnderTargetObjPlanExComReqDto.getEvaluationTemplateId(),"B3-3批量改中基层指标扩展设置(管理)-D3-3批量改购物车一级以下指标扩展设置(公共)-冗余评价模板ID不能为空",false);
Assert.isNull(batchUpdateFristUnderTargetObjPlanExComReqDto.getBatchCurrentStatus(),"B3-3批量改中基层指标扩展设置(管理)-D3-3批量改购物车一级以下指标扩展设置(公共)-批次现状不能为空",false);
Assert.isNull(batchUpdateFristUnderTargetObjPlanExComReqDto.getBatchCode(),"B3-3批量改中基层指标扩展设置(管理)-D3-3批量改购物车一级以下指标扩展设置(公共)-批次标识不能为空",false);
      batchUpdateFristUnderTargetObjPlanExComRespDto = fwAppIndexSystemClient.batchUpdateFristUnderTargetObjPlanExCom(batchUpdateFristUnderTargetObjPlanExComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
    
BffBatchUpdateMidTargetObjPlanExRespDto retData = new BffBatchUpdateMidTargetObjPlanExRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-3判断购物车内操作元素情况(管理)[4613]
   * gen by moon at 10/8/2022, 3:10:53 AM
   */
    @Trace(operationName = "B3-3判断购物车内操作元素情况(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffJudgeShoppingTrolleyInnerElementJudgeRespDto judgeShoppingTrolleyInnerElementJudge(BffJudgeShoppingTrolleyInnerElementJudgeReqDto reqDto){
      
       
       JudgeShoppingTrolleyInnerElementJudgeRespDto judgeShoppingTrolleyInnerElementJudgeRespDto_1 =null;
//步骤0: D3-3判断购物车内操作元素情况 - judgeShoppingTrolleyInnerElementJudge
     JudgeShoppingTrolleyInnerElementJudgeRespDto judgeShoppingTrolleyInnerElementJudgeRespDto = null;
    JudgeShoppingTrolleyInnerElementJudgeReqDto judgeShoppingTrolleyInnerElementJudgeReqDto=new JudgeShoppingTrolleyInnerElementJudgeReqDto();
  if(reqDto!=null){
      judgeShoppingTrolleyInnerElementJudgeReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:334796_1
judgeShoppingTrolleyInnerElementJudgeReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:334797_1
    }
  
    /*D3-3判断购物车内操作元素情况[4607]   */
    Assert.isNull(judgeShoppingTrolleyInnerElementJudgeReqDto.getObjectiveId(),"B3-3判断购物车内操作元素情况(管理)-D3-3判断购物车内操作元素情况-指标ID不能为空",false);
Assert.isNull(judgeShoppingTrolleyInnerElementJudgeReqDto.getTargetId(),"B3-3判断购物车内操作元素情况(管理)-D3-3判断购物车内操作元素情况-冗余目标ID不能为空",false);
      judgeShoppingTrolleyInnerElementJudgeRespDto = fwAppIndexSystemClient.judgeShoppingTrolleyInnerElementJudge(judgeShoppingTrolleyInnerElementJudgeReqDto).getData();
      
      
      judgeShoppingTrolleyInnerElementJudgeRespDto_1 = judgeShoppingTrolleyInnerElementJudgeRespDto;
    
BffJudgeShoppingTrolleyInnerElementJudgeRespDto retData = new BffJudgeShoppingTrolleyInnerElementJudgeRespDto();
  if(judgeShoppingTrolleyInnerElementJudgeRespDto_1!=null){
      retData.setTargetCycleSet(judgeShoppingTrolleyInnerElementJudgeRespDto_1.getTargetCycleSet());//SimpleFieldAssign//sourceId:334806_1
retData.setTargetValueSet(judgeShoppingTrolleyInnerElementJudgeRespDto_1.getTargetValueSet());//SimpleFieldAssign//sourceId:334807_1
retData.setSetChargePerson(judgeShoppingTrolleyInnerElementJudgeRespDto_1.getSetChargePerson());//SimpleFieldAssign//sourceId:334808_1
retData.setSetParticipator(judgeShoppingTrolleyInnerElementJudgeRespDto_1.getSetParticipator());//SimpleFieldAssign//sourceId:334809_1
retData.setWeightSet(judgeShoppingTrolleyInnerElementJudgeRespDto_1.getWeightSet());//SimpleFieldAssign//sourceId:334810_1
retData.setSetBudget(judgeShoppingTrolleyInnerElementJudgeRespDto_1.getSetBudget());//SimpleFieldAssign//sourceId:334811_1
    }
  

  
  
return retData;
  }
/**
   * B3-3批量删牵头部门指标(管理)[2804]
   * gen by moon at 10/10/2022, 5:31:40 AM
   */
    @Trace(operationName = "B3-3批量删牵头部门指标(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffBatchDeleteLeadDeptTargetObjRespDto batchDeleteLeadDeptTargetObj(BffBatchDeleteLeadDeptTargetObjReqDto reqDto){
      
       
       //virtualUsage D3-3判断牵头部门指标(公共)  19122
      JudgeLeadDeptTargetObjComRespDto judgeLeadDeptTargetObjComRespDto = null;
    JudgeLeadDeptTargetObjComReqDto judgeLeadDeptTargetObjComReqDto=new JudgeLeadDeptTargetObjComReqDto();
  if(reqDto!=null){
      judgeLeadDeptTargetObjComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:373857_1_19122
judgeLeadDeptTargetObjComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:373858_1_19122
    }
  
    /*D3-3判断牵头部门指标(公共)[4815]   */
    Assert.isNull(judgeLeadDeptTargetObjComReqDto.getEntityId(),"B3-3批量删牵头部门指标(管理)-D3-3判断牵头部门指标(公共)-目标ID不能为空",false);
Assert.isNull(judgeLeadDeptTargetObjComReqDto.getEvaluationTemplateId(),"B3-3批量删牵头部门指标(管理)-D3-3判断牵头部门指标(公共)-冗余评价模板ID不能为空",false);
      judgeLeadDeptTargetObjComRespDto = fwAppIndexSystemClient.judgeLeadDeptTargetObjCom(judgeLeadDeptTargetObjComReqDto).getData();
      Assert.isTrue(judgeLeadDeptTargetObjComRespDto== null||  judgeLeadDeptTargetObjComRespDto.getOutputNum() ==null,"返回值不能为空",false);
      
      
if((judgeLeadDeptTargetObjComRespDto!= null&& judgeLeadDeptTargetObjComRespDto.getBatchCurrentStatus() != null &&judgeLeadDeptTargetObjComRespDto!= null&&  judgeLeadDeptTargetObjComRespDto.getBatchCurrentStatus() !=null && judgeLeadDeptTargetObjComRespDto.getBatchCurrentStatus().equals("1"))) {
        //if((D3-3判断牵头部门指标(公共).批次现状 值不等于空  and D3-3判断牵头部门指标(公共).批次现状 等于 1))  19123
        
BatchDeleteLeadDeptTargetObjRespDto batchDeleteLeadDeptTargetObjRespDto = null;
    BatchDeleteLeadDeptTargetObjReqDto batchDeleteLeadDeptTargetObjReqDto=new BatchDeleteLeadDeptTargetObjReqDto();
  if(reqDto!=null){
      //list-field-assign
    batchDeleteLeadDeptTargetObjReqDto.setTargetObjList(reqDto.getTargetObjList());//sourceId:359210_1_19124
    }
  
    /*D3-3批量删牵头部门目标观测点[2805]   */
    
      batchDeleteLeadDeptTargetObjRespDto = fwAppIndexSystemClient.batchDeleteLeadDeptTargetObj(batchDeleteLeadDeptTargetObjReqDto).getData();
      
      
      
//processBranchName:正常结束 ,processBranchId:19125
        
      }
else if((judgeLeadDeptTargetObjComRespDto!= null&& judgeLeadDeptTargetObjComRespDto.getBatchCurrentStatus() != null &&judgeLeadDeptTargetObjComRespDto!= null&&  judgeLeadDeptTargetObjComRespDto.getBatchCurrentStatus() !=null && judgeLeadDeptTargetObjComRespDto.getBatchCurrentStatus().equals("2"))){
       //elseif((D3-3判断牵头部门指标(公共).批次现状 值不等于空  and D3-3判断牵头部门指标(公共).批次现状 等于 2))  19126
      
//processBranchName:正常结束 ,processBranchId:19127
        
    }
BffBatchDeleteLeadDeptTargetObjRespDto retData = new BffBatchDeleteLeadDeptTargetObjRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-3更新初始化模板信息(管理)[3233]
   * gen by moon at 5/18/2023, 11:06:42 PM
   */
    @Trace(operationName = "B3-3更新初始化模板信息(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffRefreshInitializeTempInfoRespDto refreshInitializeTempInfo(BffRefreshInitializeTempInfoReqDto reqDto){
      
       
       RefreshInitializeTempInfoRespDto refreshInitializeTempInfoRespDto_1 =null;
       //步骤0: D3-3更新初始化模板信息 - refreshInitializeTempInfo
     RefreshInitializeTempInfoRespDto refreshInitializeTempInfoRespDto = null;
    RefreshInitializeTempInfoReqDto refreshInitializeTempInfoReqDto=new RefreshInitializeTempInfoReqDto();
  if(reqDto!=null){
refreshInitializeTempInfoReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:377450_1
refreshInitializeTempInfoReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:377451_1
    }
  
    /*D3-3更新初始化模板信息[2315]   */
Assert.isNull(refreshInitializeTempInfoReqDto.getTargetId(),"B3-3更新初始化模板信息(管理)-D3-3更新初始化模板信息-目标ID不能为空",false);
Assert.isNull(refreshInitializeTempInfoReqDto.getEvaluationTemplateId(),"B3-3更新初始化模板信息(管理)-D3-3更新初始化模板信息-冗余评价模板ID不能为空",false);
      refreshInitializeTempInfoRespDto = fwAppIndexSystemClient.refreshInitializeTempInfo(refreshInitializeTempInfoReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      refreshInitializeTempInfoRespDto_1 = refreshInitializeTempInfoRespDto;

BffRefreshInitializeTempInfoRespDto retData = new BffRefreshInitializeTempInfoRespDto();
  if(refreshInitializeTempInfoRespDto_1!=null){
      retData.setEvaObjTargetCycleId(refreshInitializeTempInfoRespDto_1.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:455221_1
retData.setTargetCycleName(refreshInitializeTempInfoRespDto_1.getTargetCycleName());//SimpleFieldAssign//sourceId:455222_1
    }
  

  
  
return retData;
  }
/**
   * B3目标验收结束(管理)[4848]
   * gen by moon at 5/3/2024, 2:23:23 AM
   */
    @Trace(operationName = "B3目标验收结束(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffUpdateSetTargetPgsCompleteStatusRespDto updateSetTargetPgsCompleteStatus(BffUpdateSetTargetPgsCompleteStatusReqDto reqDto){
      
       
       //步骤0: D3目标验收结束 - updateSetTargetPgsCompleteStatus
     UpdateSetTargetPgsCompleteStatusRespDto updateSetTargetPgsCompleteStatusRespDto = null;
    UpdateSetTargetPgsCompleteStatusReqDto updateSetTargetPgsCompleteStatusReqDto=new UpdateSetTargetPgsCompleteStatusReqDto();
  if(reqDto!=null){
      updateSetTargetPgsCompleteStatusReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:379117_1
updateSetTargetPgsCompleteStatusReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:379118_1
    }
  
    /*D3目标验收结束[4849]   */
    Assert.isNull(updateSetTargetPgsCompleteStatusReqDto.getTargetId(),"B3目标验收结束(管理)-D3目标验收结束-目标ID不能为空",false);
Assert.isNull(updateSetTargetPgsCompleteStatusReqDto.getEvaluationTemplateId(),"B3目标验收结束(管理)-D3目标验收结束-冗余评价模板ID不能为空",false);
      updateSetTargetPgsCompleteStatusRespDto = fwAppIndexSystemClient.updateSetTargetPgsCompleteStatus(updateSetTargetPgsCompleteStatusReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      
    
BffUpdateSetTargetPgsCompleteStatusRespDto retData = new BffUpdateSetTargetPgsCompleteStatusRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-执行下级向下分工元素类型(管理)[4967]
   * gen by moon at 12/1/2022, 1:53:06 AM
   */
    @Trace(operationName = "B3-执行下级向下分工元素类型(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffImplementBelowDownwardDivElementTypeRespDto implementBelowDownwardDivElementType(BffImplementBelowDownwardDivElementTypeReqDto reqDto){
      
       
       QueryMidAndBasicDivTacticsTermDetailRespDto queryMidAndBasicDivTacticsTermDetailRespDto_1 =null;
//步骤0: D3-3查询中基层分工策略条件 - queryMidAndBasicDivTacticsTermDetail
     QueryMidAndBasicDivTacticsTermDetailRespDto queryMidAndBasicDivTacticsTermDetailRespDto = null;
    QueryMidAndBasicDivTacticsTermDetailReqDto queryMidAndBasicDivTacticsTermDetailReqDto=new QueryMidAndBasicDivTacticsTermDetailReqDto();
  if(reqDto!=null){
      queryMidAndBasicDivTacticsTermDetailReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:384170_1
queryMidAndBasicDivTacticsTermDetailReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:384171_1
queryMidAndBasicDivTacticsTermDetailReqDto.setSubordinateDivType(reqDto.getSubordinateDivType());//SimpleFieldAssign//sourceId:384172_1
    }
  
    /*D3-3查询中基层分工策略条件[4076]   */
    Assert.isNull(queryMidAndBasicDivTacticsTermDetailReqDto.getObjectiveId(),"B3-执行下级向下分工元素类型(管理)-D3-3查询中基层分工策略条件-指标ID不能为空",false);
Assert.isNull(queryMidAndBasicDivTacticsTermDetailReqDto.getEvaluationTemplateId(),"B3-执行下级向下分工元素类型(管理)-D3-3查询中基层分工策略条件-冗余评价模板ID不能为空",false);
      queryMidAndBasicDivTacticsTermDetailRespDto = fwAppIndexSystemClient.queryMidAndBasicDivTacticsTermDetail(queryMidAndBasicDivTacticsTermDetailReqDto).getData();
      
      
      queryMidAndBasicDivTacticsTermDetailRespDto_1 = queryMidAndBasicDivTacticsTermDetailRespDto;
    
BffImplementBelowDownwardDivElementTypeRespDto retData = new BffImplementBelowDownwardDivElementTypeRespDto();
  if(queryMidAndBasicDivTacticsTermDetailRespDto_1!=null){
      retData.setDownwardDivElementType(queryMidAndBasicDivTacticsTermDetailRespDto_1.getDownwardDivElementType());//SimpleFieldAssign//sourceId:384176_1
retData.setDivCopywriter(queryMidAndBasicDivTacticsTermDetailRespDto_1.getDivCopywriter());//SimpleFieldAssign//sourceId:384177_1
    }
  

  
  
return retData;
  }
/**
   * B3-3查一级目标分类列表(管理)[2900]
   * gen by moon at 11/2/2022, 8:08:35 AM
   */
    @Trace(operationName = "B3-3查一级目标分类列表(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryFirstTargetCatListRespDto queryFirstTargetCatList(BffQueryFirstTargetCatListReqDto reqDto){
      
       
       QueryFirstTargetCatListRespDto queryFirstTargetCatListRespDto_1 =null;
//步骤0: D3-3查一级目标分类列表 - queryFirstTargetCatList
     QueryFirstTargetCatListRespDto queryFirstTargetCatListRespDto = null;
    QueryFirstTargetCatListReqDto queryFirstTargetCatListReqDto=new QueryFirstTargetCatListReqDto();
  queryFirstTargetCatListReqDto.setLevelNumber(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:93155_1
queryFirstTargetCatListReqDto.setIsArchive("FALSE");//sourceId:93156_1
queryFirstTargetCatListReqDto.setArchivngType("NOT_ARCHIVE");//sourceId:221293_1
if(reqDto!=null){
      queryFirstTargetCatListReqDto.setParentTargetId(reqDto.getParentTargetId());//SimpleFieldAssign//sourceId:93154_1
    }
  
    /*D3-3查一级目标分类列表[2902]   */
    Assert.isNull(queryFirstTargetCatListReqDto.getParentTargetId(),"B3-3查一级目标分类列表(管理)-D3-3查一级目标分类列表-归属父级目标ID不能为空",false);
Assert.isNull(queryFirstTargetCatListReqDto.getLevelNumber(),"B3-3查一级目标分类列表(管理)-D3-3查一级目标分类列表-层级不能为空",false);
Assert.isNull(queryFirstTargetCatListReqDto.getIsArchive(),"B3-3查一级目标分类列表(管理)-D3-3查一级目标分类列表-是否存档不能为空",false);
Assert.isNull(queryFirstTargetCatListReqDto.getArchivngType(),"B3-3查一级目标分类列表(管理)-D3-3查一级目标分类列表-存档类型不能为空",false);
      queryFirstTargetCatListRespDto = fwAppIndexSystemClient.queryFirstTargetCatList(queryFirstTargetCatListReqDto).getData();
      
      
      queryFirstTargetCatListRespDto_1 = queryFirstTargetCatListRespDto;
    
BffQueryFirstTargetCatListRespDto retData = new BffQueryFirstTargetCatListRespDto();
  if(queryFirstTargetCatListRespDto_1!=null){
      retData.setFirstTargetCatList(queryFirstTargetCatListRespDto_1.getSetConstructionTaskList().stream().map(item -> BeanUtil.toBean(item, BffFirstTargetCatDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:115271_1
    }
  

  
  
return retData;
  }
/**
   * B3-3批量改目标内容排序(管理)[5253]
   * gen by moon at 11/21/2022, 5:45:02 PM
   */
    @Trace(operationName = "B3-3批量改目标内容排序(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffBatchUpdateTargetContOrderNumRespDto batchUpdateTargetContOrderNum(BffBatchUpdateTargetContOrderNumReqDto reqDto){
      
       
       //步骤0: D3-3批量改目标内容排序 - batchUpdateTargetContOrderNum
     BatchUpdateTargetContOrderNumRespDto batchUpdateTargetContOrderNumRespDto = null;
    BatchUpdateTargetContOrderNumReqDto batchUpdateTargetContOrderNumReqDto=new BatchUpdateTargetContOrderNumReqDto();
  if(reqDto!= null&&  reqDto.getEntityIdList() !=null&& !CollectionUtil.isEmpty(reqDto.getEntityIdList())){
      batchUpdateTargetContOrderNumReqDto.setEntityIdList(reqDto.getEntityIdList().stream().map(item -> BeanUtil.toBean(item, EntityIdDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:447512_1
    }
if(reqDto!=null){
      batchUpdateTargetContOrderNumReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:447513_1
batchUpdateTargetContOrderNumReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:447514_1
    }
  
    /*D3-3批量改目标内容排序[5254]   */
    Assert.isNull(batchUpdateTargetContOrderNumReqDto.getTableTypeCode(),"B3-3批量改目标内容排序(管理)-D3-3批量改目标内容排序-内容表类型编码不能为空",false);
Assert.isNull(batchUpdateTargetContOrderNumReqDto.getEvaluationTemplateId(),"B3-3批量改目标内容排序(管理)-D3-3批量改目标内容排序-冗余评价模板ID不能为空",false);
      batchUpdateTargetContOrderNumRespDto = fwAppIndexSystemClient.batchUpdateTargetContOrderNum(batchUpdateTargetContOrderNumReqDto).getData();
      
      
      
    
BffBatchUpdateTargetContOrderNumRespDto retData = new BffBatchUpdateTargetContOrderNumRespDto();
  
  

  
  
return retData;
  }
/**
   * B3目标内容操作可用判断(管理)[7169]
   * gen by moon at 6/9/2023, 6:38:30 PM
   */
    @Trace(operationName = "B3目标内容操作可用判断(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffImplementTargetContOperateEstimateRespDto implementTargetContOperateEstimate(BffImplementTargetContOperateEstimateReqDto reqDto){


       ImplementTargetContOperateEstimateRespDto implementTargetContOperateEstimateRespDto_1 =null;
//步骤0: D3执行目标内容操作可用判断 - implementTargetContOperateEstimate
     ImplementTargetContOperateEstimateRespDto implementTargetContOperateEstimateRespDto = null;
    ImplementTargetContOperateEstimateReqDto implementTargetContOperateEstimateReqDto=new ImplementTargetContOperateEstimateReqDto();
  if(reqDto!=null){
      implementTargetContOperateEstimateReqDto.setObjectTypeCode(reqDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:1028159_1
implementTargetContOperateEstimateReqDto.setObjectId(reqDto.getObjectId());//SimpleFieldAssign//sourceId:1028160_1
implementTargetContOperateEstimateReqDto.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1028130_1
implementTargetContOperateEstimateReqDto.setCustomField(reqDto.getCustomField());//SimpleFieldAssign//sourceId:1028161_1
    }

    /*D3执行目标内容操作可用判断[7168]   */
    Assert.isNull(implementTargetContOperateEstimateReqDto.getObjectTypeCode(),"B3目标内容操作可用判断(管理)-D3执行目标内容操作可用判断-归属对象类型编码不能为空",false);
Assert.isNull(implementTargetContOperateEstimateReqDto.getObjectId(),"B3目标内容操作可用判断(管理)-D3执行目标内容操作可用判断-归属对象内容ID不能为空",false);
Assert.isNull(implementTargetContOperateEstimateReqDto.getThemeContentId(),"B3目标内容操作可用判断(管理)-D3执行目标内容操作可用判断-主题内容ID不能为空",false);
Assert.isNull(implementTargetContOperateEstimateReqDto.getCustomField(),"B3目标内容操作可用判断(管理)-D3执行目标内容操作可用判断-是否看当前目标内容不能为空",false);
      implementTargetContOperateEstimateRespDto = fwAppIndexSystemClient.implementTargetContOperateEstimate(implementTargetContOperateEstimateReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      implementTargetContOperateEstimateRespDto_1 = implementTargetContOperateEstimateRespDto;

BffImplementTargetContOperateEstimateRespDto retData = new BffImplementTargetContOperateEstimateRespDto();
  if(implementTargetContOperateEstimateRespDto_1!=null){
      retData.setKeyOperateType(implementTargetContOperateEstimateRespDto_1.getKeyOperateType());//SimpleFieldAssign//sourceId:1028168_1
retData.setCustomField(implementTargetContOperateEstimateRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1028169_1
    }




return retData;
  }
/**
   * B3查询责任主体指标排序列表(管理)[7482]
   * gen by moon at 10/4/2023, 4:35:32 PM
   */
    @Trace(operationName = "B3查询责任主体指标排序列表(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryDutyBodyTargetObjectiveOrderNumListRespDto queryDutyBodyTargetObjectiveOrderNumList(BffQueryDutyBodyTargetObjectiveOrderNumListReqDto reqDto){


       QueryDutyBodyTargetObjectiveListRespDto queryDutyBodyTargetObjectiveListRespDto_1 =null;
//步骤0: D3查询责任主体指标列表 - queryDutyBodyTargetObjectiveList
     QueryDutyBodyTargetObjectiveListRespDto queryDutyBodyTargetObjectiveListRespDto = null;
    QueryDutyBodyTargetObjectiveListReqDto queryDutyBodyTargetObjectiveListReqDto=new QueryDutyBodyTargetObjectiveListReqDto();
  if(reqDto!=null){
      queryDutyBodyTargetObjectiveListReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:1156239_1
queryDutyBodyTargetObjectiveListReqDto.setLevelNumber(reqDto.getLevelNumber());//SimpleFieldAssign//sourceId:1156241_1
queryDutyBodyTargetObjectiveListReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1156240_1
    }

    /*D3查询责任主体指标列表[7480]   */
    Assert.isNull(queryDutyBodyTargetObjectiveListReqDto.getDeptId(),"B3查询责任主体指标排序列表(管理)-D3查询责任主体指标列表-部门ID不能为空",false);
Assert.isNull(queryDutyBodyTargetObjectiveListReqDto.getEvaluationTemplateId(),"B3查询责任主体指标排序列表(管理)-D3查询责任主体指标列表-冗余评价模板ID不能为空",false);
      queryDutyBodyTargetObjectiveListRespDto = fwAppIndexSystemClient.queryDutyBodyTargetObjectiveList(queryDutyBodyTargetObjectiveListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      queryDutyBodyTargetObjectiveListRespDto_1 = queryDutyBodyTargetObjectiveListRespDto;

BffQueryDutyBodyTargetObjectiveOrderNumListRespDto retData = new BffQueryDutyBodyTargetObjectiveOrderNumListRespDto();
  if(queryDutyBodyTargetObjectiveListRespDto_1!=null){
      retData.setDutyBodyTargetObjectiveOrderNumListList(queryDutyBodyTargetObjectiveListRespDto_1.getDutyBodyTargetObjectiveOrderNumListList().stream().map(item -> BeanUtil.toBean(item, BffDutyBodyTargetObjectiveOrderNumListDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1156243_1
    }




return retData;
  }
/**
   * B3批量改责任主体指标排序(管理)[7483]
   * gen by moon at 10/4/2023, 4:35:35 PM
   */
    @Trace(operationName = "B3批量改责任主体指标排序(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffBatchUpdateDutyBodyTargetObjectiveOrderNumRespDto batchUpdateDutyBodyTargetObjectiveOrderNum(BffBatchUpdateDutyBodyTargetObjectiveOrderNumReqDto reqDto){


       //步骤0: D3批量改责任主体指标排序 - batchUpdateDutyBodyTargetObjectiveOrderNum
     BatchUpdateDutyBodyTargetObjectiveOrderNumRespDto batchUpdateDutyBodyTargetObjectiveOrderNumRespDto = null;
    BatchUpdateDutyBodyTargetObjectiveOrderNumReqDto batchUpdateDutyBodyTargetObjectiveOrderNumReqDto=new BatchUpdateDutyBodyTargetObjectiveOrderNumReqDto();
  if(reqDto!= null&&  reqDto.getDutyBodyTargetObjectiveOrderNumListList() !=null&& !CollectionUtil.isEmpty(reqDto.getDutyBodyTargetObjectiveOrderNumListList())){
      batchUpdateDutyBodyTargetObjectiveOrderNumReqDto.setDutyBodyTargetObjectiveOrderNumListList(reqDto.getDutyBodyTargetObjectiveOrderNumListList().stream().map(item -> BeanUtil.toBean(item, DutyBodyTargetObjectiveOrderNumListDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1156604_1
    }

    /*D3批量改责任主体指标排序[7484]   */

      batchUpdateDutyBodyTargetObjectiveOrderNumRespDto = fwAppIndexSystemClient.batchUpdateDutyBodyTargetObjectiveOrderNum(batchUpdateDutyBodyTargetObjectiveOrderNumReqDto).getData()/*vcase invoke 跨dubbo调用;*/;




BffBatchUpdateDutyBodyTargetObjectiveOrderNumRespDto retData = new BffBatchUpdateDutyBodyTargetObjectiveOrderNumRespDto();





return retData;
  }
/**
   * B3批量改目标内容排序(管理)[7483]
   * gen by moon at 10/21/2023, 8:09:46 PM
   */
    @Trace(operationName = "B3批量改目标内容排序(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffBatchUpdateTargetContentOrderNumRespDto batchUpdateTargetContentOrderNum(BffBatchUpdateTargetContentOrderNumReqDto reqDto){


       //步骤0: D3批量改目标内容排序 - batchUpdateTargetContentOrderNum
     BatchUpdateTargetContentOrderNumRespDto batchUpdateTargetContentOrderNumRespDto = null;
    BatchUpdateTargetContentOrderNumReqDto batchUpdateTargetContentOrderNumReqDto=new BatchUpdateTargetContentOrderNumReqDto();
  if(reqDto!= null&&  reqDto.getTargetContentList() !=null&& !CollectionUtil.isEmpty(reqDto.getTargetContentList())){
      batchUpdateTargetContentOrderNumReqDto.setTargetContentList(reqDto.getTargetContentList().stream().map(item -> BeanUtil.toBean(item, TargetContentDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1198817_1
    }
if(reqDto!=null){
      batchUpdateTargetContentOrderNumReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1198818_1
batchUpdateTargetContentOrderNumReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1198819_1
    }

    /*D3批量改目标内容排序[7484]   */
    Assert.isNull(batchUpdateTargetContentOrderNumReqDto.getTableTypeCode(),"B3批量改目标内容排序(管理)-D3批量改目标内容排序-内容表类型编码不能为空",false);
Assert.isNull(batchUpdateTargetContentOrderNumReqDto.getEvaluationTemplateId(),"B3批量改目标内容排序(管理)-D3批量改目标内容排序-冗余评价模板ID不能为空",false);
      batchUpdateTargetContentOrderNumRespDto = fwAppIndexSystemClient.batchUpdateTargetContentOrderNum(batchUpdateTargetContentOrderNumReqDto).getData()/*vcase invoke 跨dubbo调用;*/;




BffBatchUpdateTargetContentOrderNumRespDto retData = new BffBatchUpdateTargetContentOrderNumRespDto();





return retData;
  }
/**
   * B3存档目标分类(管理)[7648]
   * gen by moon at 11/1/2023, 9:38:34 PM
   */
    @Trace(operationName = "B3存档目标分类(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffArchiveTargetCatRespDto archiveTargetCat(BffArchiveTargetCatReqDto reqDto){


       ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto_1 =null;
//virtualUsage D3执行进度运行判断(公共)  51524
      ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto = null;
    ImplementExecuteProgressOperationJudgeComReqDto implementExecuteProgressOperationJudgeComReqDto=new ImplementExecuteProgressOperationJudgeComReqDto();
  implementExecuteProgressOperationJudgeComReqDto.setUseTypeCode("USE_ARCHIVE_TARGET_CATEGORY");//CUSTOM_CONVENTION//sourceId:1225795_1_51524
if(reqDto!=null){
      implementExecuteProgressOperationJudgeComReqDto.setObjectId(reqDto.getParentContId());//SimpleFieldAssign//sourceId:1225794_1_51524
implementExecuteProgressOperationJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1225796_1_51524
    }

    /*D3执行进度运行判断(公共)[7243]   */
    Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getObjectId(),"B3存档目标分类(管理)-D3执行进度运行判断(公共)-归属对象内容ID不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getUseTypeCode(),"B3存档目标分类(管理)-D3执行进度运行判断(公共)-用途类型编码不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getThemeContentId(),"B3存档目标分类(管理)-D3执行进度运行判断(公共)-主题内容ID不能为空",false);
      implementExecuteProgressOperationJudgeComRespDto = fwAppExecuteProgressClient.implementExecuteProgressOperationJudgeCom(implementExecuteProgressOperationJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      implementExecuteProgressOperationJudgeComRespDto_1 = implementExecuteProgressOperationJudgeComRespDto;
if((implementExecuteProgressOperationJudgeComRespDto!= null&& implementExecuteProgressOperationJudgeComRespDto.getCustomField() == null )) {
        //if(D3执行进度运行判断(公共).操作过于频繁，请稍后再试文案故事 值等于空 )  51525

ArchiveTargetCatRespDto archiveTargetCatRespDto = null;
    ArchiveTargetCatReqDto archiveTargetCatReqDto=new ArchiveTargetCatReqDto();
  archiveTargetCatReqDto.setUseTypeCode("USE_ARCHIVE_TARGET_CATEGORY");//CUSTOM_CONVENTION//sourceId:1225793_1_51526
if(reqDto!=null){
      archiveTargetCatReqDto.setTargetCategoryId(reqDto.getTargetCategoryId());//SimpleFieldAssign//sourceId:1225790_1_51526
archiveTargetCatReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1225791_1_51526
archiveTargetCatReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:1225968_1_51526
archiveTargetCatReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:1225969_1_51526
archiveTargetCatReqDto.setObjectId(reqDto.getParentContId());//SimpleFieldAssign//sourceId:1225792_1_51526
    }

    /*D3存档目标分类[7645]   */
    Assert.isNull(archiveTargetCatReqDto.getTargetCategoryId(),"B3存档目标分类(管理)-D3存档目标分类-目标分类ID不能为空",false);
Assert.isNull(archiveTargetCatReqDto.getEvaluationTemplateId(),"B3存档目标分类(管理)-D3存档目标分类-冗余评价模板ID不能为空",false);
Assert.isNull(archiveTargetCatReqDto.getBatchCode(),"B3存档目标分类(管理)-D3存档目标分类-批次标识不能为空",false);
Assert.isNull(archiveTargetCatReqDto.getBatchCurrentStatus(),"B3存档目标分类(管理)-D3存档目标分类-批次现状不能为空",false);
Assert.isNull(archiveTargetCatReqDto.getObjectId(),"B3存档目标分类(管理)-D3存档目标分类-归属对象内容ID不能为空",false);
Assert.isNull(archiveTargetCatReqDto.getUseTypeCode(),"B3存档目标分类(管理)-D3存档目标分类-用途类型编码不能为空",false);
      archiveTargetCatRespDto = fwAppIndexSystemClient.archiveTargetCat(archiveTargetCatReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



      }
BffArchiveTargetCatRespDto retData = new BffArchiveTargetCatRespDto();
  if(implementExecuteProgressOperationJudgeComRespDto_1!=null){
      retData.setCustomField(implementExecuteProgressOperationJudgeComRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1225801_1
    }




return retData;
  }
/**
   * B3存档指标(管理)[7649]
   * gen by moon at 11/2/2023, 12:15:39 AM
   */
    @Trace(operationName = "B3存档指标(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffArchiveTargetObjRespDto archiveTargetObj(BffArchiveTargetObjReqDto reqDto){


       ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto_1 =null;
//virtualUsage D3执行进度运行判断(公共)  51529
      ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto = null;
    ImplementExecuteProgressOperationJudgeComReqDto implementExecuteProgressOperationJudgeComReqDto=new ImplementExecuteProgressOperationJudgeComReqDto();
  implementExecuteProgressOperationJudgeComReqDto.setUseTypeCode("USE_ARCHIVE_OBJECTIVE");//CUSTOM_CONVENTION//sourceId:1226005_1_51529
if(reqDto!=null){
      implementExecuteProgressOperationJudgeComReqDto.setObjectId(reqDto.getParentContId());//SimpleFieldAssign//sourceId:1226004_1_51529
implementExecuteProgressOperationJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1226006_1_51529
    }

    /*D3执行进度运行判断(公共)[7243]   */
    Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getObjectId(),"B3存档指标(管理)-D3执行进度运行判断(公共)-归属对象内容ID不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getUseTypeCode(),"B3存档指标(管理)-D3执行进度运行判断(公共)-用途类型编码不能为空",false);
Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getThemeContentId(),"B3存档指标(管理)-D3执行进度运行判断(公共)-主题内容ID不能为空",false);
      implementExecuteProgressOperationJudgeComRespDto = fwAppExecuteProgressClient.implementExecuteProgressOperationJudgeCom(implementExecuteProgressOperationJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      implementExecuteProgressOperationJudgeComRespDto_1 = implementExecuteProgressOperationJudgeComRespDto;
if((implementExecuteProgressOperationJudgeComRespDto!= null&& implementExecuteProgressOperationJudgeComRespDto.getCustomField() == null )) {
        //if(D3执行进度运行判断(公共).操作过于频繁，请稍后再试文案故事 值等于空 )  51530

ArchiveTargetObjRespDto archiveTargetObjRespDto = null;
    ArchiveTargetObjReqDto archiveTargetObjReqDto=new ArchiveTargetObjReqDto();
  archiveTargetObjReqDto.setUseTypeCode("USE_ARCHIVE_OBJECTIVE");//CUSTOM_CONVENTION//sourceId:1228296_1_51531
if(reqDto!=null){
      archiveTargetObjReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:1228289_1_51531
archiveTargetObjReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1228290_1_51531
archiveTargetObjReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1228291_1_51531
archiveTargetObjReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:1228292_1_51531
archiveTargetObjReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:1228293_1_51531
archiveTargetObjReqDto.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:1228294_1_51531
archiveTargetObjReqDto.setObjectId(reqDto.getParentContId());//SimpleFieldAssign//sourceId:1228295_1_51531
    }

    /*D3存档指标[7650]   */
    Assert.isNull(archiveTargetObjReqDto.getObjectiveId(),"B3存档指标(管理)-D3存档指标-指标ID不能为空",false);
Assert.isNull(archiveTargetObjReqDto.getEvaluationTemplateId(),"B3存档指标(管理)-D3存档指标-冗余评价模板ID不能为空",false);
Assert.isNull(archiveTargetObjReqDto.getBatchCode(),"B3存档指标(管理)-D3存档指标-批次标识不能为空",false);
Assert.isNull(archiveTargetObjReqDto.getBatchCurrentStatus(),"B3存档指标(管理)-D3存档指标-批次现状不能为空",false);
Assert.isNull(archiveTargetObjReqDto.getBatchOperateScene(),"B3存档指标(管理)-D3存档指标-高/中/基层操作场景不能为空",false);
Assert.isNull(archiveTargetObjReqDto.getObjectId(),"B3存档指标(管理)-D3存档指标-归属对象内容ID不能为空",false);
Assert.isNull(archiveTargetObjReqDto.getUseTypeCode(),"B3存档指标(管理)-D3存档指标-用途类型编码不能为空",false);
      archiveTargetObjRespDto = fwAppIndexSystemClient.archiveTargetObj(archiveTargetObjReqDto).getData()/*vcase invoke 跨dubbo调用;*/;



      }
BffArchiveTargetObjRespDto retData = new BffArchiveTargetObjRespDto();
  if(implementExecuteProgressOperationJudgeComRespDto_1!=null){
      retData.setCustomField(implementExecuteProgressOperationJudgeComRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1228305_1
    }




return retData;
  }
/**
   * B3查询对齐责任人目标列表[7875]
   * gen by moon at 11/14/2023, 1:24:15 PM
   */
    @Trace(operationName = "B3查询对齐责任人目标列表")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryAlignGgoalsResponsiblePersonListRespDto queryAlignGgoalsResponsiblePersonList(BffQueryAlignGgoalsResponsiblePersonListReqDto reqDto){


//       QueryAlignGoalsResponsiblePersonListRespDto queryAlignGoalsResponsiblePersonListRespDto_1 =null;
////步骤0: D3查询对齐责任人目标列表 - queryAlignGoalsResponsiblePersonList
//     QueryAlignGoalsResponsiblePersonListRespDto queryAlignGoalsResponsiblePersonListRespDto = null;
//    QueryAlignGoalsResponsiblePersonListReqDto queryAlignGoalsResponsiblePersonListReqDto=new QueryAlignGoalsResponsiblePersonListReqDto();
//  if(reqDto!=null){
//      queryAlignGoalsResponsiblePersonListReqDto.setVirtualOrgInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1284844_1
//    }
//
//    /*D3查询对齐责任人目标列表[7865]   */
//    Assert.isNull(queryAlignGoalsResponsiblePersonListReqDto.getVirtualOrgInductionRecordId(),"B3查询对齐责任人目标列表-D3查询对齐责任人目标列表-虚拟组织成员就职记录ID不能为空",false);
//      //queryAlignGoalsResponsiblePersonListRespDto = fwAppIndexSystemClient.queryAlignGoalsResponsiblePersonList(queryAlignGoalsResponsiblePersonListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
//
//
//      queryAlignGoalsResponsiblePersonListRespDto_1 = queryAlignGoalsResponsiblePersonListRespDto;
//
//BffQueryAlignGgoalsResponsiblePersonListRespDto retData = new BffQueryAlignGgoalsResponsiblePersonListRespDto();
//  if(queryAlignGoalsResponsiblePersonListRespDto_1!=null){
//      retData.setAlignGgoalsResponsiblePersonList(queryAlignGoalsResponsiblePersonListRespDto_1.getAlignGgoalsResponsiblePersonList().stream().map(item -> BeanUtil.toBean(item, BffAlignGgoalsResponsiblePersonDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1284848_1
//retData.setEvaObjTargetCycleList(queryAlignGoalsResponsiblePersonListRespDto_1.getEvaObjTargetCycleList().stream().map(item -> BeanUtil.toBean(item, BffEvaObjTargetCycleDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1284849_1
//    }
//
//
//      List<Object> allNodes =new ArrayList<>();
//      allNodes.addAll(retData.getAlignGgoalsResponsiblePersonList());
//allNodes.addAll(retData.getEvaObjTargetCycleList());
//     List<TreeNode> nodeList = CommonFunctionHelper.buildTree(allNodes);
//     retData.setTreeNode(nodeList);
//     retData.setAlignGgoalsResponsiblePersonList(null);
//retData.setEvaObjTargetCycleList(null);

return null;
  }
/**
   * B3查询可对齐的目标列表[7961]
   * gen by moon at 5/11/2025, 1:26:28 PM
   */
    @Trace(operationName = "B3查询可对齐的目标列表")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryAlignTheGgoalsResponsiblePersonListRespDto queryAlignTheGgoalsResponsiblePersonList(BffQueryAlignTheGgoalsResponsiblePersonListReqDto reqDto){


       ImplementAlignTheGgoalsResponsiblePersonComRespDto implementAlignTheGgoalsResponsiblePersonComRespDto_1 =null;
//步骤0: D3分析可以对齐的目标(公共) - implementAlignTheGgoalsResponsiblePersonCom
     ImplementAlignTheGgoalsResponsiblePersonComRespDto implementAlignTheGgoalsResponsiblePersonComRespDto = null;
    ImplementAlignTheGgoalsResponsiblePersonComReqDto implementAlignTheGgoalsResponsiblePersonComReqDto=new ImplementAlignTheGgoalsResponsiblePersonComReqDto();
  if(reqDto!=null){
      implementAlignTheGgoalsResponsiblePersonComReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1562085_1
implementAlignTheGgoalsResponsiblePersonComReqDto.setAlignObjectiveBodyType(reqDto.getAlignObjectiveBodyType());//SimpleFieldAssign//sourceId:1791531_1
implementAlignTheGgoalsResponsiblePersonComReqDto.setPlanStartTime(reqDto.getPlanStartTime());//SimpleFieldAssign//sourceId:2012338_1
implementAlignTheGgoalsResponsiblePersonComReqDto.setPlanEndTime(reqDto.getPlanEndTime());//SimpleFieldAssign//sourceId:2012339_1
    }

    /*D3分析可以对齐的目标(公共)[7960]   */
    Assert.isNull(implementAlignTheGgoalsResponsiblePersonComReqDto.getOriginalRoleMemberId(),"B3查询可对齐的目标列表-D3分析可以对齐的目标(公共)-身份人员ID不能为空",false);
Assert.isNull(implementAlignTheGgoalsResponsiblePersonComReqDto.getAlignObjectiveBodyType(),"B3查询可对齐的目标列表-D3分析可以对齐的目标(公共)-对齐指标主体类型不能为空",false);
Assert.isNull(implementAlignTheGgoalsResponsiblePersonComReqDto.getPlanStartTime(),"B3查询可对齐的目标列表-D3分析可以对齐的目标(公共)-计划开始时间不能为空",false);
Assert.isNull(implementAlignTheGgoalsResponsiblePersonComReqDto.getPlanEndTime(),"B3查询可对齐的目标列表-D3分析可以对齐的目标(公共)-计划结束时间不能为空",false);
      implementAlignTheGgoalsResponsiblePersonComRespDto = fwAppIndexSystemClient.implementAlignTheGgoalsResponsiblePersonCom(implementAlignTheGgoalsResponsiblePersonComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      implementAlignTheGgoalsResponsiblePersonComRespDto_1 = implementAlignTheGgoalsResponsiblePersonComRespDto;

BffQueryAlignTheGgoalsResponsiblePersonListRespDto retData = new BffQueryAlignTheGgoalsResponsiblePersonListRespDto();
  if(implementAlignTheGgoalsResponsiblePersonComRespDto_1!=null){
      retData.setEvaObjTargetCycleList(implementAlignTheGgoalsResponsiblePersonComRespDto_1.getEvaObjTargetCycleList().stream().map(item -> BeanUtil.toBean(item, BffEvaObjTargetCycleDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:2047145_1
    }




return retData;
  }
/**
   * B3查询子任务可对齐的KR范围列表[9555]
   * gen by moon at 5/12/2024, 4:57:03 PM
   */
    @Trace(operationName = "B3查询子任务可对齐的KR范围列表")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryAlignKrListRespDto queryAlignKrList(BffQueryAlignKrListReqDto reqDto){


       QueryAlignKrListRespDto queryAlignKrListRespDto_1 =null;
//步骤0: D3查询子任务可对齐的KR范围列表 - queryAlignKrList
     QueryAlignKrListRespDto queryAlignKrListRespDto = null;
    QueryAlignKrListReqDto queryAlignKrListReqDto=new QueryAlignKrListReqDto();
  if(reqDto!=null){
      queryAlignKrListReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1791943_1
    }

    /*D3查询子任务可对齐的KR范围列表[9554]   */
    Assert.isNull(queryAlignKrListReqDto.getOriginalRoleMemberId(),"B3查询子任务可对齐的KR范围列表-D3查询子任务可对齐的KR范围列表-身份人员ID不能为空",false);
      queryAlignKrListRespDto = fwAppIndexSystemClient.queryAlignKrList(queryAlignKrListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


      queryAlignKrListRespDto_1 = queryAlignKrListRespDto;

BffQueryAlignKrListRespDto retData = new BffQueryAlignKrListRespDto();
  if(queryAlignKrListRespDto_1!=null){
      retData.setKrObjectiveList(queryAlignKrListRespDto_1.getKrObjectiveList().stream().map(item -> BeanUtil.toBean(item, BffKrObjectiveDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1791917_1
    }




return retData;
  }
    //
}
